Greetings.
I've been
struggling with this problem for the last two days. I am trying to validate an
xml document, which does not have any xmlns namespaces set. Here is an
example:
<?xml
version="1.0" encoding="UTF-8"?>
<data>
<report end-date="11/22/2005" name="My Report" start-date="12/31/1969"/>
<totals class-avg="0.0" stud-avg="94.0"/>
</data>
<data>
<report end-date="11/22/2005" name="My Report" start-date="12/31/1969"/>
<totals class-avg="0.0" stud-avg="94.0"/>
</data>
I have an XSD
schema to which this document should conform to. I am using sax parser to
validate the document as follows:
