| Summary: | JAXB Externalized Metadata: Need support for descriptor/mapping properties | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | David McCann <david.mccann> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 317962 | ||||||
| Attachments: |
|
||||||
Created attachment 175842 [details]
Contains fix + test case mods
Final XSD changes:
<xs:element name="xml-properties" type="xml-properties" />
<xs:complexType name="xml-properties">
<xs:sequence>
<xs:element name="xml-property" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="value" type="xs:string" use="required" />
<xs:attribute name="value-type" type="xs:string" default="java.lang.String" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Design/examples can be found here:
http://wiki.eclipse.org/EclipseLink/DesignDocs/317962/Phase2.1#XmlProperty
Reviewed by: matt.macivor@oracle.com
Tests: all unit tests pass as expected; jaxb/externalizedmetadata/mappings/direct/DirectMappingTestsCases
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
We require support for setting a Map of properties on descriptors and mappings via external metadata. The schema components should look something like the following: <xs:element name="xml-property" type="xml-property" /> <xs:complexType name="xml-property"> <xs:attribute name="name" type="xs:string" use="required" /> <xs:attribute name="value" type="xs:string" use="required" /> <xs:attribute name="value-type" type="xs:string" /> </xs:complexType> Design and expected usege can be found on the following Wiki: http://wiki.eclipse.org/EclipseLink/DesignDocs/317962/Phase2.1#xml-property