Answer the question
In order to leave comments, you need to log in
How to validate xml by xsd java?
If we use the SAXParserFactory library, then during the loop on the first error, the loop breaks, and we get only one error.
And I need to show all the errors at once.
Please clarify if there is something suitable for my task?
PS fatal errors (didn't close the tag at the end, etc.) - we don't take it into account.
PSS I will enter that SAXParserFactory checks the xsd data type in the tag and if it does not match, then it stumbles and the check does not go further.
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question