2

I have a XSD file with assertion tags. I have read that Xerces supports a XML Schema 1.1 draft with these tags.

How can I use an actual Xerces version, instead of the standard Java implementation, in my maven build.

Crazy Doc
  • 349
  • 1
  • 3
  • 11

1 Answers1

0

An old way to use the Xerces version was adding those parameters. I do not know if it could still work.

-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParser=org.apache.xerces.jaxp.SAXParserImpl
willome
  • 3,062
  • 19
  • 32