| Summary: | JAXB Externalized Metadata: Support for type on xml-value | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Rick Barkhouse <rick.barkhouse> | ||||||
| Component: | Eclipselink | Assignee: | David McCann <david.mccann> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | david.mccann, rick.barkhouse | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 321152 | ||||||||
| Attachments: |
|
||||||||
|
Description
Rick Barkhouse
Created attachment 176707 [details]
Contains proposed fix + test case modifications
We now check XmlValue for type, and if not "##default" we set this type on the
associated Property.
Test case mods: set type in java model to Object, and set type in xml to
java.lang.BigDecimal. If the type set in XML isn't processed an error will
occur in the schema gen/comparison area of the test suite.
Created attachment 176708 [details]
Contains proposed fix + supporting test cases + XSD changes
We now check XmlValue for type, and if not "##default" we set this type on the
associated Property.
Test case mods: set type in java model to Object, and set type in xml to
java.lang.BigDecimal. If the type set in XML isn't processed an error will
occur in the schema gen/comparison area of the test suite.
Fix checked in to trunk, Revision 8048. Reviewed by: matt.macivor@oracle.com, rick.barkhouse@oracle.com Tests: all unit tests pass as expected; jaxb/externalizedmetadata/xmlvalue/XmlValueTestCases The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |