D
D
d-virt2015-10-13 11:30:22
Java
d-virt, 2015-10-13 11:30:22

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

1 answer(s)
E
Evgeny Kornachev, 2015-10-13
@d-virt

StackOverflow
Seems like it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question