| Summary: | oxm XML file does not support the use of xml-access-methods, read-only, or write-only on xml-element-ref(s) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Fullbright <paul.fullbright> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | david.twelves, eclipselink.oxm-inbox | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Paul Fullbright
Hey Paul, xml-access-methods, read-only, and write-only are configurable for xml-element and xml-elements via XML metadata file or directly on the XMLModel classes. I assume from the bug title that you mean xml-element-ref and xml-element-refs. :-) Yep. Words are starting to look the same to me. :) Created attachment 181739 [details]
Proposed fix
Created attachment 181740 [details]
Supporting tests
Note that accessors and read/write flags set on an XmlElementRef are ignored when it is wrapped by an XmlElementRef(s). Fix checked in. Reviewed by: rick.barkhouse@oracle.com Tests: all unit tests pass as expected jaxb/externalizedmetadata/xmlelementref/XmlElementRefTestCases jaxb/externalizedmetadata/xmlelementrefs/XmlElementRefsTestCases The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |