Actually, not sure myself. I definitely know how this is handled for
Java classes generated from XML schemas.

As such, can I ask you to provide me with a minimal test case, and I
will have a look.

Regards
Werner

Venkat Pavan Kumar Bellapu Konda wrote:
> Hi,
> 
> I have query regarding Castor XML mapping.
> 
> I have a set of predefined java objects and I have an XML which I want to
> map to these java objects.
> 
> I came up with the mapping file and everything works great apart from the
> custom field handlers. The field handlers only get invoked if there is a
> corresponding XML element. But what if I want to default a value if the XML
> does not have an element?
> 
> Please help me find a solution for this problem. I am sure you might have
> this feature, but I am not able to achieve this.
> 
> Appreciate your help
> 
> Thanks & Regards,
> 
> Pavan
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to