Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348113 - [Validation] @XmlElementRefs validation and content assist
Summary: [Validation] @XmlElementRefs validation and content assist
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-02 13:39 EDT by Paul Fullbright CLA
Modified: 2011-09-09 15:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Fullbright CLA 2011-06-02 13:39:05 EDT
From the JAXB 2.2 spec (8.9.4.2)

- The only other additional JAXB mapping annotations allowed with @XmlElementRefs are: @XmlElementWrapper and @XmlJavaTypeAdapter.

Some investigation is needed to see whether validation and content assist for
the individual @XmlElementRef annotations within @XmlElementRefs differ significantly from validation and content assist for an @XmlElementRef by itself.
Comment 1 Paul Fullbright CLA 2011-09-09 15:22:26 EDT
@XmlElementRefs are validating the same way as @XmlElementRef annotations singularly, with the added validations of preventing duplicate (JAXBElement) names and duplicate (non-JAXBElement) types in a list.

Also completed validation and content assist for @XmlElementRefs within an @XmlAnyElement mapping.