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

Bug 315072

Summary: JAXB: XmlElementRef with XmlMixed generating incorrect mapping
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Matt MacIvor <matt.macivor>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed fix and test case none

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