[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Document function and DTD
> I am using Saxon 8.9b. > > The catalog files should be configed correctly since it can > find the DTD using PUBLICID for the source XML file (not > src_doc in XSLT). > > It seems to me the catalog file is NOT searched using > document function in XSLT. It try to find a DTD file in the > same folder where src.xml is. You haven't said *how* you are running Saxon. When you call the document() function Saxon will create (or reuse) an XML parser. The XML parser will attempt to locate the DTD using its EntityResolver. You need to make sure that the XML parser is preconfigured to use an EntityResolver that searches the catalog. The usual way to do that is to use the -x option on the command line. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|