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

Bug 345022

Summary: get-method and set-method should not be required in oxm.xml schema
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
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 XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix.
none
Modified test cases. none

Description Blaise Doughan CLA 2011-05-06 15:52:51 EDT
The following:

    <xs:element name="xml-access-methods" type="xml-access-methods" />
    <xs:complexType name="xml-access-methods">
        <xs:attribute name="get-method" type="xs:string" use="required"/>
        <xs:attribute name="set-method" type="xs:string" use="required"/>
    </xs:complexType>

Should be changed to:

    <xs:element name="xml-access-methods" type="xml-access-methods" />
    <xs:complexType name="xml-access-methods">
        <xs:attribute name="get-method" type="xs:string"/>
        <xs:attribute name="set-method" type="xs:string"/>
    </xs:complexType>
Comment 1 David McCann CLA 2011-05-10 13:55:50 EDT
Created attachment 195252 [details]
Proposed fix.
Comment 2 David McCann CLA 2011-05-10 13:56:14 EDT
Created attachment 195253 [details]
Modified test cases.
Comment 3 David McCann CLA 2011-05-10 14:36:32 EDT
Reviewed by:  blaise.doughan@oracle.com
Tests:  all unit tests pass as expected;  jaxb/externalizedmetadata/mappings/composite/CompositeMappingTestCases; jaxb/externalizedmetadata/mappings/compositecollection/CompositeCollecitonMappingTestCases
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:20:25 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink