Reputation: 119
Is it possible to validate xml against xsd which should show all the failures present in xml? I'm using java to validate. But the validator showing first failure. I need to get all the failures in the xml.
Upvotes: 0
Views: 61
Reputation: 13978
You can implement your own ErrorHandler to capture all exceptions. See this article here for details: http://www.ibm.com/developerworks/xml/library/x-javaxmlvalidapi/index.html#N101B3
Upvotes: 1