Community
Participate
Working Groups
Created attachment 206731 [details] example schema I generated classes from the attached schema and then generated a schema from those classes and ended up with an invalid schema. the generated schema contains: <xsd:element name="bar" substitutionGroup="foo"> <xsd:complexType> <xsd:attribute name="baz" type="xsd:boolean"/> </xsd:complexType> </xsd:element> instead of: <xsd:element name="bar" substitutionGroup="foo"> <xsd:complexType> <xsd:complexContent> <xsd:extension base="foo"> <xsd:attribute name="baz" type="xsd:boolean"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element>
Created attachment 213305 [details] propsed fix and tests
Attached patch checked into trunk and 2.3
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink