It's a bug in castor. You can't without patching castor first.

Sent from my iPhone

On May 27, 2009, at 11:40 PM, Steve Kingsland <[email protected] > wrote:

Hi,
I’m trying to marshal a POJO, which has a java.util.Date property. T he schema element that I’m marshalling to is of type “xs:date”, NOT “xs:datetime”. How do I map this?


Specifically, I want the date formatted as “2009-05-26”, not “2009-05-26T11:12:17.189-04:00”. Do I have to write a custom field handler to do this? Or is there a way to accomplish this withi n the xml mapping?

-Steve



The electronic mail message you have received and any files transmitted with it are confidential and solely for the intended addressee(s)’s attention. Do not divulge, copy, forward, or use the contents, attachments, or information without permission of Fannie M ae. Information contained in this message is provided solely for the purpose stated in the message or its attachment(s) and must not be disclosed to any third party or used for any other purpose without c onsent of Fannie Mae. If you have received this message and/or any f iles transmitted with it in error, please delete them from your syst em, destroy any hard copies of them, and contact the sender.




Reply via email to