Community
Participate
Working Groups
This enhancement is to support for marshalling/unmarshalling lists of attributes/text that appear co-located in the XML (see use cases below): Use Case #1 @XmlPath("item/@foo") private List<String> foo; @XmlPath("item/@bar") private List<String> bar; <root> <item foo="1" bar="a"/> <item foo="2" bar="b"/> <item foo="3" bar="c"/> </root> Use Case #2 @XmlPath("item/@foo") private List<String> foo; @XmlPath("item/text()") private List<String> bar; <root> <item foo="1">a</item> <item foo="2">b</item> <item foo="3">c</item> </root>
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink