Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315072 - JAXB: XmlElementRef with XmlMixed generating incorrect mapping
Summary: JAXB: XmlElementRef with XmlMixed generating incorrect mapping
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: 2010-05-31 09:18 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:05 EDT (History)
0 users

See Also:


Attachments
proposed fix and test case (7.23 KB, patch)
2010-05-31 14:31 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 Matt MacIvor CLA 2010-05-31 09:18:34 EDT
When combining an @XmlElementRef annotation with an @XmlMixed annotation, an XMLAnyCollection mapping is generated, however, the KeepAsElementPolicy is always being set to KeepAllAsElement instead of KeepUnknownAsElement.
Comment 1 Matt MacIvor CLA 2010-05-31 14:31:46 EDT
Created attachment 170576 [details]
proposed fix and test case
Comment 2 Matt MacIvor CLA 2010-06-01 11:27:08 EDT
Attached Patch checked in to SVN
Reviewed by David McCann
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:05:44 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink