Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348015 - Type with @XmlRootElement (and no @XmlType) annotation not added to model
Summary: Type with @XmlRootElement (and no @XmlType) annotation not added to model
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 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 16:36 EDT by Paul Fullbright CLA
Modified: 2011-10-25 18:09 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-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.