vino
vino

Reputation: 119

Complete Xml Validation

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

Answers (1)

DB5
DB5

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

Related Questions