Validation of XML files is usually a standard task.
It is very convenient to store XSDs in classpath and validate XML in a such way.
Problems starts when XSD contains imports of other schemas. Schema parser doesn't know how to resolve the location of imports.
There is no out of box solution to this problem.
I created a sample project that solves this task:
https://github.com/chernykhalexander/xsdValidator
Комментариев нет:
Отправить комментарий