This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Xerces-C/J - DocBook Catalog file
- From: Bob Stayton <bobs at sco dot com>
- To: D Tom <xml4u2002 at yahoo dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 22 Aug 2003 10:13:36 -0700
- Subject: Re: [docbook-apps] Xerces-C/J - DocBook Catalog file
- References: <20030818092518.84638.qmail@web80709.mail.yahoo.com>
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