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

RE: Saxon problem

Subject: RE: Saxon problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 5 Nov 2004 00:22:52 -0000
parser saxon
> The reason for this error is the doctype line.
> 
> <!DOCTYPE content SYSTEM "D:/test/DTD/camml-con.dtd">
> 
> Saxon is not accepting this line. I am using default class
> net.sf.saxon.Transform.
> 

As others have pointed out, you need to use a URI here and not a filename.

But one addition to the comments: the error is not being reported by Saxon,
but by the XML parser. You may not realize it, but the XML parser is not
part of Saxon. Unless you supply your own parser, Saxon uses the one that
comes as part of the Java runtime.

Michael Kay
http://www.saxonica.com/

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.