Bug 328823 - JAXB Externalized Metadata: Support for adapter on XmlAnyAttribute required
Summary: JAXB Externalized Metadata: Support for adapter on XmlAnyAttribute required
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 09:26 EDT by David McCann CLA
Modified: 2022-06-09 10:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David McCann CLA 2010-10-27 09:26:37 EDT
According to the spec section 8.9.8.2, XmlJavaTypeAdapter may be used with
@XmlAnyAttribute.
Comment 1 David McCann CLA 2010-10-27 09:30:31 EDT
There is no mention of this usage in the JavaDoc for XmlAnyAttribute/XmlJavaTypeAdapter, and there is only a one-line comment in the spec:

"The only other annotations that can be used on the property or field with
@XmlAnyAttribute are: @XmlJavaTypeAdapter."

The RI allows these annotations to be combined (i.e. no compile failure) but I cannot get the adapter to be utilized during runtime.  I have tried to apply the adapter a number of different ways with no success.

At this point it appears as if this is not supported in the RI.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:08:30 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink