Community
Participate
Working Groups
When @XmlElement(nillable=true) is used on a List of simple types. The null policy should be set to xsi:nil represents null. @XmlElement(nillable=true) private List<String> strings; When the list contains 1 null entry should marshal to: <strings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
Created attachment 187225 [details] MOXy - Test Cases
Created attachment 187235 [details] MOXy - Fix
Fix checked into trunk at: 8865 Code reviewed by: Matt MacIvor Fix Description: If the element is nillable set the null policy accordingly.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink