One problem is that you have technically two different Ys for that
class, so the generator can't simply use the same attribute for both
Ys.
I don't know if you can use jaxb custom binding to rename the second
Y in your case in conjunction with the choice model. And this is
another problem. If the
Hello:
I'm using Apache CXF 2.7.3
I've having problems to generate JAXB classes from XSD that cointains
this element
xs:choice
xs:sequence
xs:element name=X type=xs:string/
xs:element name=Y type=xs:string minOccurs=0/
/xs:sequence
xs:element name=Y type=xs:string/