RE: DOCBOOK-APPS: Sun Resolver classes released

From
Bradford, Denis <>
Date
2001-10-17T20:08:37+00:00
ID
3906C56A7BD1F54593344C05BD1374B10286E37D@SUS-MA1IT01
Thread
RE: DOCBOOK-APPS: Sun Resolver classes released
>-----Original Message-----
>From: Norman Walsh [mailto:]
>Sent: Saturday, October 13, 2001 8:56 AM
>To: 
>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