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

RE: [saxon] catalogs

Subject: RE: [saxon] catalogs
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 2 Jan 2003 16:30:07 -0000
jan michael jar
I don't really understand what's going on here, but when you use Saxon's
-x option, then XML parsing is entirely out of Saxon's control. All that
Saxon sees is a stream of XML events from the nominated XML parser.
Certainly Saxon won't get involved in finding the DTD or any DTD
"module" (ie. external parameter entity).

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Tobias Reif
> Sent: 02 January 2003 15:41
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  [saxon] catalogs
> 
> 
> 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
> 


 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.