Hi,

this is a known issue (and has some corresponding JIra issues created).
Due to the release of Castor 1.3, this has been delayed slightly, but
will be addressed in a few days.

Regards
Werner

Kedar D wrote:
> GeneralizedFieldHandler example is given in reference at
> http://www.castor.org/reference/html-single/index.html#d0e2586
> 
> It works only during marshalling.  Unmarshalling gives following error:
> 
> Castor unmarshalling exception: Bad DateTime format: 2009-03-22
> DateTime is not long enough; nested exception is
> org.exolab.castor.xml.MarshalException: Bad DateTime format: 2009-03-22
> DateTime is not long enough{File: [not available]; line: 2; column: 44}
> 
> Using Castor 1.2 my test code marshals a java object to file.  Then tries to
> unmarshal back.
> 
> If handler from below mapping is removed, things work fine.
> 
> <field name="when" type="date" handler="util.castor.DateHandler">
>  <bind-xml name="when" node="attribute" />
> </field>
> 
> Please help.
> 
> Thanks
> 

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

    http://xircles.codehaus.org/manage_email


Reply via email to