This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]