>-----Original Message-----
>From: Norman Walsh [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, October 13, 2001 8:56 AM
>To: [EMAIL PROTECTED]
>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>

Reply via email to