Gilbert, as part of Castor 1.0.4, we shipped a patch that fixed support for element references, where the support for the nillable attribute was broken.
In other words, yes, 'nillable' should be (fully) supported. If it is not, I'd like to learn about it .. ;-). Can you please create a new Jira issue at http://jira.codehaus.org/browse/CASTOR and attach all relevant files, i.e. XML schema, castorbuilder.properties (if used), etc.. Thanks Werner Gilbert, Laura B wrote: > Hello, > > I am a semi experienced Castor user although I have just > transitioned to Castor 1.0.4 from the older version Castor 0.9.5.3. I > am taking a predefined schema and generating java source code to import > data from XML to Java objects. In Castor version 0.9.5.3 “nillable” was > not supported. I understood that it is supported in 1.0.4. > > > > Question: Is there a config property that I should set to generate the > appropriate method calls for schema elements where “nillable = true”? > Or will this be handled by default? > > I expected to find a “desc.setNillable(true)” in my > *Descripter.java classes. Its not there. > > > > Any tips or wisdom appreciated. > > > > Laura Gilbert > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

