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

Bug 327928

Summary: Validation, defaults, and content assist support for JAXB 2.2 class annotations
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: JAXBAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 327909    

Description Paul Fullbright CLA 2010-10-15 13:40:37 EDT
http://wiki.eclipse.org/Dali/Indigo/JAXB_2.x/TypeAnnotations

This bug will track validation and content support for JAXB 2.2 class annotations, including:
    * @XmlType
    * @XmlRootElement
    * @XmlSeeAlso
    * @XmlAccessorType
    * @XmlAccessorOrder
    * @XmlJavaTypeAdapter
    * @XmlInlineBinaryData
    * @XmlTransient

This may depend in part on bug 327918.
Comment 1 Paul Fullbright CLA 2011-05-10 14:51:01 EDT
For Dali 3.0 the following has been completed:

- XmlType name and namespace (not factoryClass, factoryMethod, or propOrder)
- XmlRootElement name and namespace
- XmlSeeAlso (nothing extra needed)
- XmlAccessorType (nothing extra needed)
- XmlAccessorOrder (nothing extra needed)
- XmlInlineBinaryData (nothing extra needed)
- XmlTransient (nothing extra needed)

Basic validation and code assist is present (nothing extra required) for XmlJavaTypeAdapter, but more context-sensitive validation could be done.

More validation can be done for XmlType (and more holistic scenarios for JAXB classes, where determined)

Bug 345316
Bug 345317
have been entered to track further development on this issue.