OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Xerces-C/J - DocBook Catalog file


On Mon, Aug 18, 2003 at 02:25:18AM -0700, D Tom wrote:
> Hi
>  
> Could someone please provide me with instructions for
> using the 
> XERCES-C/J for validating an XML document against the
> DocBook DTD (need to 
> plug up/set path the catalog file)? or If any free
> parser software will 
> support following requirements:
> conform to W3C XML 1.0 standards, Unicode, namespaces,
> catalog file...
> Please suggest.

The free libxml2 tools (xsltproc and xmllint) meet those
requirements.  For detailed instructions, see:

http://www.sagehill.net/docbookxsl/ToolsSetup.html
  and
http://www.sagehill.net/docbookxsl/Catalogs.html

Xalan will handle an entity resolver for catalogs using
its -ENTITYRESOLVER and -URIRESOLVER options, but I don't
know of a way to do that with Xerces for validation.
I'll bet it can be done with some Java code and
the Xerces API, though.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]