Quantcast
Channel: Jaxb marshaller always writes xsi:nil (even when @XmlElement(required=false, nillable=true)) - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by bdoughan for Jaxb marshaller always writes xsi:nil (even when...

If the property is annotated with @XmlElement(required=false, nillable=true) and the value is null it will be written out with xsi:nil="true".If you annotate it with just @XmlElement you will get the...

View Article



Jaxb marshaller always writes xsi:nil (even when @XmlElement(required=false,...

I have a java property annotated with @XmlElement(required=false, nillable=true). When the object is marshalled to xml, it is always outputted with the xsi:nil="true" attribute.Is there a...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images