users@jaxb.java.net

minOccurs=0 and nillable=true

From: aka.fe2s <aka.fe2s_at_gmail.com>
Date: Mon, 8 Aug 2011 11:15:12 -0400

Hi,

I have a XSD type where minOccurs=0 and nillable=true.

When the java property is NULL, JAXB2 marshals it to <MyElement
nil="true" /> whereas JAXB1 just doesn't include this element.

Is there any way to make JAXB2 behave like JAXB1 ?

--
Thanks.