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"/>
</xs:choice>

The problem is because there is two element called "Y" and I guess the
tools doesn't know how to generate the JAXB class, but I think that it
should generate two String fields no required

Any idea ? Any w/a ?


Thanks

Reply via email to