I want to generate the java source (classes) which represent the XML elements in the XSD1.1 file to be able to serialize / deserialize incomming XML files. With xsd1.0 it works perfectly with the in java included tool xjc but I fail generating the classes with an XSD1.1 file.
I have already tried several tools
- xjc (jdk8)
- apache cxf
- some maven plugins
Always trying also to put the latest xerces-j in the classpath "2.12.0".
As far as I could figure out xerces has no functionality like "xjc" or "xsd2java".
I also tried this one: How to use Xerces while generating sources from XSD 1.1 with maven
And to code it my own - to have more influence on the classpath and implementation - like its explained a bit here: How do I add an xjc plugin programmatically at runtime?
Thanks