Use the OASIS catalog resolver to redirect the DTD reference to a local copy
on your own machine.
See for example
http://saxon.wiki.sourceforge.net/XML+Catalogs
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
_____
From: Devin Griffiths [mailto:devin.griffiths@...]
Sent: 17 July 2009 19:59
To: saxon-help@...
Subject: [saxon] Problem with document dtd
Hi,
I'm transforming a group of xhtml documents qith Saxon 9.1, and when they
include the following dtd:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I'm getting an io error. (HTTP response code: 503 for URL
http://www.w3.org/TR... etc.) I can't do anything to the xhtml files -- is
there any way to get saxon to ignore the dtd information? (-expand:off
doesn't seem to take care of this). I can't change the xhtml files -- I need
a way to take care of this in saxon or the xslt.
Thanks,
Devin Griffiths
|