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

document() and public ID

Subject: document() and public ID
From: Mark Fletcher <dafletcha@xxxxxxxxx>
Date: Mon, 7 Aug 2006 23:59:21 -0700 (PDT)
 document() and public ID
Hi there,
 
I'm sorry if this has been answered before.
 
I'm using Saxon 6.5 and trying to use document() to reference an
external file. The file is found OK, but the file's DOCTYPE declaration
is causing a problem because the public id apparently isn't being
resolved and the system id is invalid (in the context of the working
directory). I've tried using xml:base to provide to the dtd location
and specifying a full path for document(), but this doesn't seem to
help.
Currently, my only workarounds seem to be: a) comment out the DOCTYPE
declaration, b) provide a full path in the DOCTYPE system id, c) copy
the dtd file to the working directory.
 
I'm doing this transform via a 3rd party application, so I'm not able
to create a custom resolver class and point to it. Do I have any other
options?
 
Thanks!
Mark 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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-2011 All Rights Reserved.