We are using WebSphere Application Server Community Edition 22.214.171.124. We are using the JAXB runtimes shipped with WASCE to compile new schema files into Java JAXB code. In particular, we are using
We are using the Ant task com.sun.tools.xjc.XJCTask defined in the jaxb-xjc-2.2.3-1.jar to do our schema compilations into Java.
We ran into a particularly nasty problem, in which the XJCTask ran without error or warning, but it generated code into the ObjectFactory that, while it compiled OK, caused a runtime error when we tried to create a JAXBContext.
The root cause of the problem is that a schema file held a <complexType> which held a <sequence>, and in the sequence one of our developers had duplicated two of the entries. The duplicated entries cause the silent failure. We removed the entries and things worked. I will attach a (slightly modified) version of the failing XML Schema file.
Question: who maintains this XJCTask and the corresponding JAXB code?
Question: how do we get this defect addressed?