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

Bug 348015

Summary: Type with @XmlRootElement (and no @XmlType) annotation not added to model
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: JAXBAssignee: Paul Fullbright <paul.fullbright>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Paul Fullbright CLA 2011-06-01 16:36:48 EDT
(Could be considered an enhancement)

If a type is annotated with @XmlRootElement but not @XmlType, the type is not added to the model.  Once @XmlType is added, then @XmlRootElement is validated and there is content assist, but not until.
Comment 1 Paul Fullbright CLA 2011-06-29 13:24:52 EDT
Types annotated with @XmlRootElement are now automatically added to JAXB context.

Committed to head.