Primitive fields always have a value - zero, for example, which
you've noticed.
Use an Integer, set it to null, and the field is empty. Use an int,
set it to 0, and the field has a 0 in it.
On 11 Aug 2005, at 02:52, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
Hi,
While unmarshalling if the values for premitive fields are not set
then it is unmarshalled as <number>0</number>.
I don't want the node to appear itself if the values are not set.
How to set this in castor.
Thanks and Regards
-Mothy
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------