SAX XSD Validation. Error callback is called twice.
posted 6 years ago
I have some doubt regarding schema validation using SAX parser. Please take a look at my code.
When I run below code using eclipse, I am getting below output.
I intentionally add another tag which is not allowed in the schema. But my concern is that the first line of error says that it cannot find my xsd file.
But on the second error callback, it was able to point out the correct error.
Is this normal or something is wrong with my code? Thanks.
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!