Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345022 - get-method and set-method should not be required in oxm.xml schema
Summary: get-method and set-method should not be required in oxm.xml schema
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 15:52 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:20 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix. (2.38 KB, patch)
2011-05-10 13:55 EDT, David McCann CLA
no flags Details | Diff
Modified test cases. (13.12 KB, patch)
2011-05-10 13:56 EDT, David McCann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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