[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [saxon] catalogs

Subject: Re: [saxon] catalogs
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Thu, 02 Jan 2003 16:41:02 +0100
saxon catalog
Joerg Pietschmann wrote:

On Thursday 02 January 2003 13:52, Tobias Reif wrote:

dbnotnx.mod is expected in the current dirctory instead of in
C:\etc\xml\oasis\docbook\4_2\dtd\: how to change that?

Add a proper redirection to the catalog.


Where? How? Please elaborate.

AFAICS, the catalog is found, the correct DTD is found, just the DTD modules aren't. I don't have this problem with any other tool using this DTD, and I'm not sure if I want to add DTD modules in each working directory, if that's what you mean.

The DTD is DocBook XML 4.2, and it was not necessary to modify it for any other tool which is using it through catalogs. I don't want to modify the DocBook DTD, for obvious reasons.

C:\saxon\resolversettings\CatalogManager.properties
:
catalogs=/etc/xml/catalog
relative-catalogs=true
catalog-class-name=org.apache.xml.resolver.Resolver
verbosity=3

.bat
:
@echo off
java -cp C:/saxon/saxon.jar;C:/saxon/saxon-fop.jar;C:/saxon/saxon-jdom.jar;C:/Programme/apacheResolver/resolver-1.0.jar;C:/saxon/resolversettings com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver %1 %2 %3 %4 %5 %6 %7


xmllint is happy with
  set SGML_CATALOG_FILES=/etc/xml/catalog
in the .bat and with the DocBook DTD.

WinME, Saxon 6.5.2, JRE 1.4.1_01.

Tobi

--
http://www.pinkjuice.com/


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.