[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 13:52:42 +0100
dbnotnx.mod
Jarno.Elovirta@xxxxxxxxx wrote:

> Download Norm's resolver library from http://xml.apache.org/commons/
>  and run Saxon with command line options -r and -x to use it.

I set everything up so that the resolver runs and finds the catalog, but it doesn't find some DTD modules:

C:\C2-data\gen\to-delete\steve>saxon652withcatalogs02 input02.xml through.xslt
Loading catalog: /etc/xml/catalog
resolveSystem(file:/C:/C2-data/gen/to-delete/steve/through.xslt)
resolveSystem(file:/C:/C2-data/gen/to-delete/steve/input02.xml)
resolveSystem(http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd)
resolvePublic(-//OASIS//DTD DocBook XML V4.2//EN,http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd)
Resolved public: -//OASIS//DTD DocBook XML V4.2//EN
file:/etc/xml/oasis/docbook/4_2/dtd/docbookx.dtd
resolveSystem(file:/C:/C2-data/gen/to-delete/steve/dbnotnx.mod)
resolvePublic(-//OASIS//ENTITIES DocBook Notations V4.2//EN,file:/C:/C2-data/gen
/to-delete/steve/dbnotnx.mod)
Error on line 99 column 1 of file:/C:/C2-data/gen/to-delete/steve/input02.xml:
Error reported by XML parser: Cannot read from file:/C:/C2-data/gen/to-delete/
steve/dbnotnx.mod (C:\C2-data\gen\to-delete\steve\dbnotnx.mod (Die angegebene Datei wurde nicht gefunden))
Transformation failed: Run-time errors were reported


input02.xml does not have 99 lines:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE
  book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book>
  <title>foo</title>
</book>

The catalog and local DTD is found, and should work: xmllint works very well with it.
dbnotnx.mod is expected in the current dirctory instead of in C:\etc\xml\oasis\docbook\4_2\dtd\: how to change that?


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.