Hello,
I am new to Jaxb. I am trying to generate classes from a schema which
has complex types of this kind:
<xs:complexType>
<xs:sequence>
<xs:element name="TimeOffset"
type="OpaqueExpression"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="timeOffset" type="xs:long"
use="optional"/>
<xs:attribute name="reminderMsg"
type="xs:string" use="required"/>
</xs:complexType>
However Jaxb detects a clash between the name of the element in the
sequence and the name of the attribute. Is there any way to get around
this? I would like a general solution since this is not the only
conflict of this kind in the schema. Also it would be great if the
solution wouldn't imply modifying the schema.
Thanks,
Alex Muscar