Small doubles are serialized a non-compliant way
------------------------------------------------

                 Key: XMLRPC-130
                 URL: https://issues.apache.org/jira/browse/XMLRPC-130
             Project: XML-RPC
          Issue Type: Bug
          Components: Releases
    Affects Versions: 1.2, 2.0, 3.0rc1
            Reporter: Aren Sandersen
            Priority: Minor
             Fix For: 1.2, 2.0, 3.0rc1


The double value of  (for example) ".000004" is serialized by XML-RPC as 
"4.0E-6".  Unfortunately, this does not comply with the XML-RPC spec 
(http://www.xmlrpc.com/spec) which says:

"At this time, only decimal point notation is allowed, a plus or a minus, 
followed by any number of numeric characters, followed by a period and any 
number of numeric characters."

So, Java's conversion to the exponential format is not allowed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to