A
AK
Hello,
I want to remove the DTD reference from an xml document before
validating it against a local schema instead. Currently I'm first
creating an xml document and removing the DTD reference, then creating
the XmlReaderSettings with the schema etc.
However, the reason I want to remove the DTD reference is that it
takes up to a minute to grab all the files referenced in it, and when
loading the xml document it still goes and grabs them. Is there any
way of parsing an xml document and remove the DTD reference without it
trying to fetch all the files?
Many thanks,
AK
I want to remove the DTD reference from an xml document before
validating it against a local schema instead. Currently I'm first
creating an xml document and removing the DTD reference, then creating
the XmlReaderSettings with the schema etc.
However, the reason I want to remove the DTD reference is that it
takes up to a minute to grab all the files referenced in it, and when
loading the xml document it still goes and grabs them. Is there any
way of parsing an xml document and remove the DTD reference without it
trying to fetch all the files?
Many thanks,
AK