deserializeTimestamp incorrectly throws JiBXException("Not a valid dateTime
value") for fractional seconds
----------------------------------------------------------------------------------------------------------
Key: JIBX-134
URL: http://jira.codehaus.org/browse/JIBX-134
Project: JiBX
Issue Type: Bug
Components: core
Environment: Windows 2000 Professional, IBM Rational Software
Development Platform v. 6.0.1
Reporter: Curt Carlson
Attachments: JiBXTest.java
org.jibx.runtime.Utility.deserializeTimestamp throws JiBXException("Not a valid
dateTime value") for a timestamp string with fractional seconds. It
incorrectly interprets a string with one decimal point as having multiple
decimal points.
Java code sample:
-----------------------------
String serialized = "2006-09-07T11:37:44.123456Z";
System.out.println("serialized: " + serialized);
Timestamp ts = org.jibx.runtime.Utility.deserializeTimestamp(serialized);
Output to console:
----------------------------
serialized: 2006-09-07T11:37:44.123456Z
... org.jibx.runtime.JiBXException: Not a valid dateTime value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs