On 7/22/05, Ryan Hoag <[EMAIL PROTECTED]> wrote:
> I just needed the reply to the following -
>
> How may I configure the Castor XML Marshaller via API
> to generate XML elements for NULL fields?
>
> By default, I was not able to find this either in docs
> or in the marshaller javadocs.
>
> Any help would be appreciated,
Ryan,
According to this issue:
http://jira.codehaus.org/browse/CASTOR-862
It seems to be possible to marshal empty elements by setting an
attribute on the element named nillable whose value is true. But it
also appears that there is a requirement to set the minOccurs to a
value greater than zero as well. Unfortunately I've not used this
feature so I'm not familiar with it.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://geronimo.apache.org/
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------