As part of my build process, I want to validate XML files on a schema (XSD). I am trying to use the schemavalidate task as follows:
<schemavalidate noNamespaceFile="schemas/Model.xsd" file="Model.xml"/>
This results in the following error:
[...]
BUILD FAILED
build.xml: 65: The following error occurred while executing this line:
build.xml: 59: Parser does not support Xerces or JAXP schema features
I am using the latest ant distribution (1.7.1). Do I need additional libraries to test health?
source
share