| Summary: | JAXB not all classes are traversed/processed | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Denise Smith <denise.mahar> | ||||||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox, matt.macivor | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 205154 [details]
Proposed changes and test
Created attachment 205911 [details]
Proposed code changes
Created attachment 205912 [details]
Proposed new test cases
Checked in to 2.3 trunk and 2.4 trunk. Fix check in to 2.3 and 2.4. Related bugs opened for similar issues with DynamicJAXBContext 361993 and 361994 Issue still occurs when creating the context from ObjectFactory.class instead of Schema.class Created attachment 206968 [details]
Updated fix and tests
Updated fix checked in to 2.3.2 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
In the following cases classes may not get processed unless explicitly added to the list of classes given to the context. <xs:element name="some-global-element" substitutionGroup="some-referenced-thing"> <xs:complexType> The some-global-element type may potentially be skipped @XmlElementRef(name = "someThing", namespace = "abc", type = JAXBElement.class) protected JAXBElement<? extends SomeThing> myTestThing; The type SomeThing may potentially be skipped.