Running the following xjc command raises an error : Although I understand the JAXB bindings and what are is conflict in XJC, I don’t understand where is the conflict in the current schema. how should I fix this ? Thanks, Pierre update: here is the context of the errors: Answer I’ll quote from the most official unofficial guide on JAXB
Tag: xjc
XML Schema to Java Classes with XJC
I am using xjc to generate Java classes from the XML schema and the following is an excerpt of the XSD. For the most part the generated classes are fine but for the above block I would get something like: with the following comment above it: I have placed a comment at the end of the two line in question.