[
https://issues.apache.org/jira/browse/XMLRPC-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472135
]
Jochen Wiedmann commented on XMLRPC-130:
----------------------------------------
I understand the issue, but I do not see a solution. For example, we could
convert the double toa BigDecimal, but then, I am absolutely sure, that most
people would not like to see
0.0000000000000000000000000000000000000000000000000010000000000000000076162237057823428575993091641927138989513847283709538948144790065143893595321174669124552225337349106179808916165796528474629667471162974834442138671875
instead of 1.0E-51. Do you have a suggestion?
> Small doubles are serialized in 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.
-
You can reply to this email to add a comment to the issue online.