Hi I have now found the answer, I made the asumption that the only poperties and features to be set for xerces were on the xerces site.
However setting ...
parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage","http://www.w3.org/2001/XMLSchema");
allows schema only...
Hi I am having trouble validating an xml document using xerces2_6_2
I have a DTD that containes only entity references, and a schema that is used to ensure the xml is valid.
I get this error.
Element type "my root tag" must be declared!
It seems to expect all validation grammer to be in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.