It would be useful to be able to ignore the DTD referenced in the doctype declaration when loading documents. If I remember right, the XML spec requires that XML parsers check for the existence of the referenced DTD, even when the DTD is not parsed, which typically results in a HTTP GET request or similar to whatever URL is given in the doctype.
I have all my XML catalogs configured now so I haven't had this problem lately, but this would be a nice feature that would avoid workarounds like loading the XML file as text, stripping away the doctype with a regex, storing the file and loading it again as XML.
Setting dtd-validate="false" on p:load does not help because the DTD is still pinged.
It would be useful to be able to ignore the DTD referenced in the doctype declaration when loading documents. If I remember right, the XML spec requires that XML parsers check for the existence of the referenced DTD, even when the DTD is not parsed, which typically results in a HTTP GET request or similar to whatever URL is given in the doctype.
I have all my XML catalogs configured now so I haven't had this problem lately, but this would be a nice feature that would avoid workarounds like loading the XML file as text, stripping away the doctype with a regex, storing the file and loading it again as XML.
Setting
dtd-validate="false"
onp:load
does not help because the DTD is still pinged.