OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: RE: DOCBOOK-APPS: Sun Resolver classes released

>-----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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC