Subject: RE: [xsl] document() and public ID From: "Colin Adams" <colinpauladams@xxxxxxxxxxx> Date: Tue, 08 Aug 2006 08:29:26 +0100 |
From: Mark Fletcher <dafletcha@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] document() and public ID Date: Mon, 7 Aug 2006 23:59:21 -0700 (PDT)
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] document() and public ID, Mark Fletcher | Thread | [xsl] Problems with Libxslt - GNOME, Luana Knoff |
[xsl] document() and public ID, Mark Fletcher | Date | Re: [xsl] Use of separator, Georg Hohmann |
Month |