Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
XML and Related Technologies
How to detect wrong DTD specified as system id?
posted 10 years ago
How can I determine if the XML Instance I am validating refers to a wrong DTD? That is the DOCTYPE contains a Public ID and system ID but the system ID refers to the wrong DTD
I agree. Here's the link:
ID and IDREF attributes in XML
Resolve Public DTD to a local System id
Any way to define a public id?
xml validation error:Caused by: nu.xom.ValidityException: Document is invalid: no grammar found
Parsing an XML document with an incorrect DTD