Java xsd validation of xml without namespace
- by Darkflare
Hi,
I want to validate an xml file against an xsd schema. The xml files root element does not have any namespace or xsi details. It has no attributes so just .
I have tried the following code from http://www.ibm.com/developerworks/xml/library/x-javaxmlvalidapi.html with no luck as I receive
cvc-elt.1: Cannot find the declaration of element…