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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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