This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Sun Resolver classes released
- To: docbook-apps at lists dot oasis-open dot org
- Subject: RE: DOCBOOK-APPS: Sun Resolver classes released
- From: "Bradford, Denis" <denisb at rational dot com>
- Date: Wed, 17 Oct 2001 16:06:18 -0400
- Cc: 'Norman Walsh' <ndw at nwalsh dot com>,"'eric dot richardson at milagrosoft dot com'" <eric dot richardson at milagrosoft dot com>
- List-Id: <docbook-apps.lists.oasis-open.org>
>-----Original Message-----
>From: Norman Walsh [mailto:ndw@nwalsh.com]
>Sent: Saturday, October 13, 2001 8:56 AM
>To: docbook-apps@lists.oasis-open.org
>Subject: Re: DOCBOOK-APPS: Sun Resolver classes released
>Increase the verbosity in CatalogManager.properties and make sure that
>(1) the catalog(s) being loaded contain the mapping you want and (2)
>Saxon is attempting to use them for resolution. (Maybe you need to use
>one of -x or -y?)
>Setting verbosity=4 ought to give you a pretty detailed (if not very
>pretty :-) trace.
Finally got it working, thanks Norm and Eric for the clues. For the possible
benefit of any other digitally challenged people attempting this, here's
what I found out:
1. In the catalog, the keyword publicId is case-sensitive.
2. In CatalogManager.properties, the 'catalogs' path wants the file name,
not just the directory.
I know : Doh! Doh!
3. Norm was right, the -x switch was required. Don't have a clue why.
So here's the command line that worked finally:
java -Djavax.xml.parsers.DocumentBuilderFactory=%DBFACTORY%
-Djavax.xml.parsers.SAXParserFactory=%SPFACTORY% com.icl.saxon.StyleSheet -r
com.sun.resolver.tools.CatalogResolver -x
com.sun.resolver.tools.ResolvingXMLReader ..\xmldiffmrg.xml
d:\doc\tools\xsl\cmbuxsl\xdm-htmlhelp.xsl
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>