This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]