Community
Participate
Working Groups
See test case org.eclipse.persistence.testing.jaxb.inheritance.JAXBInheritanceTestCases Currently the complex type for e looks like <xsd:complexType name="e-type"> <xsd:complexContent> <xsd:extension base="b-type"> <xsd:sequence> <xsd:element name="ddd" type="xsd:int"/> <xsd:element name="foo" type="xsd:int"/> <xsd:element name="ccc" type="xsd:int"/> <xsd:element name="eee" type="xsd:int"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> But should be <xsd:complexType name="e-type"> <xsd:complexContent> <xsd:extension base="b-type"> <xsd:sequence> <xsd:element name="ccc" type="xsd:int"/> <xsd:element name="ddd" type="xsd:int"/> <xsd:element name="foo" type="xsd:int"/> <xsd:element name="eee" type="xsd:int"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType>
Created attachment 195366 [details] Proposed changes and test
Fixed to add the superclass attributes in the right spot in the list of properties.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink