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'" <docbook-apps at lists dot oasis-open dot org>,'Eric Richardson' <eric dot richardson at milagrosoft dot com>
- Subject: RE: DOCBOOK-APPS: Sun Resolver classes released
- From: "Bradford, Denis" <denisb at rational dot com>
- Date: Thu, 11 Oct 2001 10:14:20 -0400
- List-Id: <docbook-apps.lists.oasis-open.org>
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
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>