[ 
http://jira.codehaus.org/browse/JIBX-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski closed JIBX-134.
--------------------------------


> 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
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.1.2
>
>         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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to