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

Bug 367323

Summary: @XmlValue ignored when used with @XmlAttribute
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
MOXY - Test Cases
none
MOXY - Test Cases
none
Core - Fix none

Description Blaise Doughan CLA 2011-12-21 09:10:49 EST
MOXy is not correctly handling @XmlValue when it is reference by a property annotated with @XmlAttribute.

For an example see example 5 at the following link:
- http://docs.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlType.html
Comment 1 Blaise Doughan CLA 2011-12-21 11:53:34 EST
Created attachment 208695 [details]
MOXY - Test Cases
Comment 2 Blaise Doughan CLA 2011-12-21 15:45:42 EST
Created attachment 208706 [details]
MOXY - Test Cases
Comment 3 Blaise Doughan CLA 2011-12-21 15:47:02 EST
Created attachment 208707 [details]
Core - Fix
Comment 4 Blaise Doughan CLA 2012-01-10 13:17:16 EST

*** This bug has been marked as a duplicate of bug 368283 ***
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:28:16 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink