| Summary: | validation needed for enum mapping to a complex type | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> | ||||
| Component: | JAXB | Assignee: | Neil Hauge <neil.hauge> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | neil.hauge, paul.fullbright | ||||
| Version: | 3.1 | ||||||
| Target Milestone: | 3.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
We either need validation on the @XmlType(name="entity") or validation for all of the incorrect enum values, default and specified. This was fixed in 3.1. |
Created attachment 207040 [details] example project I have attached an example project that maps to the orm xml schema. On the ExistenceType enum I am not getting any validation messages for the enum mapping to a complex type "entity". I am also not getting any validation for the incorrect enum values. @XmlType(name = "entity") @XmlEnum public enum ExistenceType { @XmlEnumValue(value="SDF") CHECK_CACHE, CHECK_DATABASE, ASSUME_EXISTENCE, ASSUME_NON_EXISTENCE;