[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: Sun Resolver classes released
Thanks Eric - the classpath bites again! Now I'm getting a FileNotFoundException on the system ID in my source's DTD declaration: D:\xdm1\htmlhelp>java com.icl.saxon.StyleSheet -r com.sun.resolver.tools.CatalogResolver ..\xmldiffmrg.xml c:\docbookxsl\htmlhelp\xdm-htmlhelp.xsl Error java.io.FileNotFoundException: D:\xdm1\cmbu_ratl.dtd (The system cannot find the file specified) This is not what I want to see! It's choking on the system ID in my doctype declaration: <!DOCTYPE book PUBLIC "-//Rational//DTD DocBook Customization for Rational CMBU//EN" "cmbu_ratl.dtd" I want to bounce off the system id, which is bogus, and use the public ID via the catalog instead. No luck so far. I'm guessing that I need to tweak the right variables in the CatalogManager.properties and the catalog it points to: ##CatalogManager.properties verbosity=1 catalogs=d:\denisb_work\doc\tools\catalog prefer=public static-catalog=yes allow-oasis-xml-catalog-pi=yes catalog-class-name=com.sun.resolver.Resolver ##catalog <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public"> <public publicId="-//Rational//DTD DocBook Customization for Rational CMBU//EN" uri="cmbu_ratl/cmbu_ratl.dtd"/> <system systemId="urn:x-oasis:cmbu_ratl.dtd" uri="cmbu_ratl.dtd"/> </catalog> Again, the system ids are deliberately wrong; only the public URIs point to the real dtd location. See anything screwy here? Or is my command line invocation at fault, so that Saxon's not even getting to CatalogManager.properties? Denis
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC