title: JAXB generate nillable = "true" from java
body: <p>it this a bug?</p>
  
  <p>I need <code>nillable = "true"</code> in my xsd schema. The only way to generate such an element from my java code is to use <code>@XmlElement(nillable = true)</code>, right? But in this case, I will not be able to take advantage of this definition, I will not be able to check if the element is set to <code>nil</code>. The method <code>isNil()</code> is in the <code>JAXBElement</code> wrapper class. </p>
  
  <p>So, what are my options here - I want to generate <code>nillable = "true"</code> in my xsd schema AND be able to check if it is set from my java code.</p>