| Summary: | Add support for default XmlElement attribute mappings | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | JAXB | Assignee: | Karen Butzke <karenfbutzke> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | neil.hauge |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Karen Butzke
From the spec section 8.12.5.1:
A single valued property or field must be mapped with the following default
mapping annotation : XmlElement
A property or field with a collection type must be mapped by with the following
default mapping annotation:
• if the property or field is annotated with @XmlList, then the default
mapping annotation is:
@XmlElement
• otherwise the default mapping annotation is:
@XmlElements({ @XmlElement(nillable=true)})
I have fixed this for M6, just waiting for some feedback from Blaise to make sure there aren't any cases I have missed. Will assume this is completed correctly for M6 |