Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367323 - @XmlValue ignored when used with @XmlAttribute
Summary: @XmlValue ignored when used with @XmlAttribute
Status: CLOSED DUPLICATE of bug 368283
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-12-21 09:10 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:28 EDT (History)
1 user (show)

See Also:


Attachments
MOXY - Test Cases (6.99 KB, patch)
2011-12-21 11:53 EST, Blaise Doughan CLA
no flags Details | Diff
MOXY - Test Cases (7.19 KB, patch)
2011-12-21 15:45 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (3.63 KB, patch)
2011-12-21 15:47 EST, Blaise Doughan 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-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