RE: [xsl] document() and public ID

Subject: RE: [xsl] document() and public ID
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Tue, 08 Aug 2006 08:29:26 +0100
Does the application allow use of OASIS XML catalogs? if so, this would solve your problem nicely.

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
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


__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Windows Live Messenger has arrived. Click here to download it for free!

Current Thread