Yes, JiBX uses the XML Schema xs:dateTime standard representation which always requires the T. If you're actually working with xs:date values (which don't include a time component) there are methods provided in org.jibx.runtime.Utility that will handle serializing/deserializing. This would be a good thing to add in the Wiki if you get a chance, John. :-) If you want to add a topic on data-formats I can link it from the start page.

- Dennis

Eitan Suez wrote:

most datetime encoding standards specify a T separating the date from the time
as in 1994-11-05T13:15:30Z


so my guess is that unless you specify your own serializer for date types,
jibx uses the [i forget which] standard. it may be iso 8601, i forget.


here's some related info:

http://www.w3.org/TR/NOTE-datetime


/ eitan


On May 13, 2004, at 1:38 PM, John Crossman wrote:



Has anyone seen this exception message before? (below) Thanks. John


org.jibx.runtime.JiBXException: Missing 'T' separator in dateTime
at org.jibx.runtime.Utility.parseDateTime(Utility.java:656)
at org.jibx.runtime.Utility.deserializeDateTime(Utility.java:740)
at com.cnetnetworks.app.gamesbridge.service.data.gs.cnet_reviews.Product.J iBX_gs_unmarshal_1_0(Product.java)
at com.cnetnetworks.app.gamesbridge.service.data.gs.cnet_reviews.JiBX_gsPr oduct_access.unmarshal()
at com.cnetnetworks.app.gamesbridge.service.data.gs.cnet_reviews.JiBX_Mung eAdapter.JiBX_gs_unmarshal_1_2()
at com.cnetnetworks.app.gamesbridge.service.data.gs.cnet_reviews.Gamespot. JiBX_gs_unmarshal_1_0(Gamespot.java)
at com.cnetnetworks.app.gamesbridge.service.data.gs.cnet_reviews.JiBX_gsGa mespot_access.unmarshal()
at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(Unmarshalli ngContext.java:2670)
at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(Unmarshall ingContext.java:2838)





------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to