xsl-list
[Top] [All Lists]

RE: [xsl] document() and public ID

2006-08-08 00:29:55

Does the application allow use of OASIS XML catalogs? if so, this would solve your problem nicely.

From: Mark Fletcher <dafletcha(_at_)yahoo(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>