Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345335

Summary: After processing transient superclasses the properties end up in the wrong order
Product: z_Archived Reporter: Denise Smith <denise.mahar>
Component: EclipselinkAssignee: 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:
Description Flags
Proposed changes and test none

Description Denise Smith CLA 2011-05-10 16:25:26 EDT
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>
Comment 1 Denise Smith CLA 2011-05-11 10:59:41 EDT
Created attachment 195366 [details]
Proposed changes and test
Comment 2 Denise Smith CLA 2011-05-11 11:00:36 EDT
Fixed to add the superclass attributes in the right spot in the list of properties.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:15:46 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink