We are using Castor to generate Java objects for our EJB interfaces off of
a castor XSD.
At present we utilize the following schema notation to map from a XML date
time to a java.utill.Date object member variable.

     <xs:element name="AccountOpenDate" type="xs:dateTime"/>

Is there any way to map just a XML date to a java.utill.Date object?   I
don't see just plane xs:date as a supported mapping, but do
see some specialized Castor date mappings.  Essentially we don't want
clients to have to supply a time in XML if all we want is the date
component.

Any ideas anyone?

Cheers,

-Aaron Myers
 Bank One
 RSS Infrastructure




This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to