Community
Participate
Working Groups
To allow the user to use dynamic types as the Value type for an XmlAdapter, support must be added to allow value type to be specified in XML Bindings. eg.: <java-type name="addresslink.Customer"> <xml-root-element/> <java-attributes> <xml-element java-attribute="id" type="java.lang.String"/> <xml-element java-attribute="name" type="java.lang.String"/> <xml-element java-attribute="address" name="link" namespace="http://www.w3.org/2005/Atom" type="addresslink.Address"> <xml-java-type-adapter value="addresslink.LinkAdapter" value-type="addresslink.Link"/> </xml-element> </java-attributes> </java-type>
Created attachment 206463 [details] Patch - code changes
Created attachment 206474 [details] Patch - test changes
Fixed, reviewed by bdoughan.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink