A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
XML and Related Technologies
How to detect wrong DTD specified as system id?
Joined: May 02, 2005
May 03, 2005 11:26:00
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
It is sorta covered in the
JavaRanch Style Guide
subject: How to detect wrong DTD specified as system id?
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014