| Summary: | @XmlElements and processed classes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | david.twelves, eclipselink.oxm-inbox | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 354666 | ||||||
| Attachments: |
|
||||||
Created attachment 183505 [details]
propsed fix and tests
Attached patch checked in to SVN Reviewed by David McCann The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
If the user specifies a class in an annotation, we should process the metadata for that class. Currently we are not. @XmlElements(value = { @XmlElement(name="address", type=Address.class), @XmlElement(name="phone-number", type=PhoneNumber.class), @XmlElement(name="note", type=String.class) }) private Object contactInfo; The above annotation should trigger us to process the Address and PhoneNumber classes.