| Summary: | After processing transient superclasses the properties end up in the wrong order | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Denise Smith <denise.mahar> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
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 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
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>