Subject: RE: XML parser accesses Internet, why?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 5 May 2007 08:29:07 +0100
|
> Why would the Java XML parser under Saxon8.7.1J need to
> access the internet?
>
> Error on line 3 column 62 of file:/C:/aa-xml/hltapi/MLD.ori.html:
> SXXP0003: Error reported by XML parser: Cannot read from
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
> (www.w3.org)
>
If your XML document references a DTD then the XML parser in general will
need a copy of the DTD. Unless it's clever and can find a cached copy, it
will follow the URI reference and fetch it.
(This is nothing to do with XSLT or Saxon, by the way)
Michael Kay
http://www.saxonica.com/
|