| Summary: | Schema validation/content assist for JAXB types associated with anonymous schema types | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> | ||||
| Component: | JAXB | Assignee: | Neil Hauge <neil.hauge> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | neil.hauge, paul.fullbright | ||||
| Version: | 3.1 | ||||||
| Target Milestone: | Future | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
The key bit here is that such a type will be generated with the following (approximate) annotations. @XmlType(name="") public class Foo There is no root element associated with the class, and instead any global elements are associated with @XmlElementDecls in the object factory class. Deferred to 3.4. |
Created attachment 206729 [details] example schema Create a jaxb project and generate classes from the attached example.xsd. In the Bar class, which extends Foo, you do not get code assist for the @XmlAttribute(name="baz") on the baz attribute. There are no validation errors for this case