Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327591 - oxm XML file does not support the use of xml-mixed with xml-element-ref(s)
Summary: oxm XML file does not support the use of xml-mixed with xml-element-ref(s)
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David McCann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 13:28 EDT by Paul Fullbright CLA
Modified: 2022-06-09 10:03 EDT (History)
2 users (show)

See Also:


Attachments
Contains fix and supporting test cases (162.71 KB, patch)
2010-10-21 11:21 EDT, David McCann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Fullbright CLA 2010-10-12 13:28:36 EDT
According to the javadocs for @XmlMixed, it may be used with @XmlElementRef(s) (as well as with @XmlAnyElement).

http://download.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlMixed.html

The oxm XML metadata does not support this use, as xml-element-ref(s) elements have no xml-mixed attribute as xml-any-element does.
Comment 1 David McCann CLA 2010-10-21 11:21:28 EDT
Created attachment 181413 [details]
Contains fix and supporting test cases

This patch also resolves:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=328285
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327590
Comment 2 David McCann CLA 2010-10-25 14:43:16 EDT
Reviewed by:  matt.macivor@oracle.com; blaise.doughan@oracle.com

Tests: all unit tests pass as expected; jaxb/externalizedmetadata/xmlanyelement/XmlAnyElementTestCases; jaxb/externalizedmetadata/xmlelementrefs/XmlElementRefsTestCases
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:03:33 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink