Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347026 - Problem using type level @XmlJavaTypeAdapter with @XmlElements
Summary: Problem using type level @XmlJavaTypeAdapter with @XmlElements
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: Matt MacIvor CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 13:31 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:07 EDT (History)
1 user (show)

See Also:


Attachments
proposed fix and test cases (30.86 KB, patch)
2011-07-04 12:43 EDT, Matt MacIvor 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-24 13:31:36 EDT
If a class level @XmlJavaTypeAdapter is set on a class that is used with @XmlElements, then it is not being leveraged through the corresponding XmlChoiceCollection mapping:

http://stackoverflow.com/questions/6084895/xmlelements-marked-with-xmljavatypeadapters
Comment 1 Matt MacIvor CLA 2011-07-04 12:43:20 EDT
Created attachment 199064 [details]
proposed fix and test cases
Comment 2 Matt MacIvor CLA 2011-07-04 14:53:25 EDT
Fix checked in to SVN
Reviewed by Blaise Doughan
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:07:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink