You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org> on 2008/08/05 16:50:44 UTC
[jira] Resolved: (XMLRPC-130) Small doubles are serialized in a
non-compliant way
[ https://issues.apache.org/jira/browse/XMLRPC-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Wiedmann resolved XMLRPC-130.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0rc1)
(was: 2.0)
(was: 1.2)
3.1.1
Assignee: Jochen Wiedmann
As long as noone provides, for example, a customized type handler, I have no intention to fix this. In practice, most servers or clients should work well with it.
> 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
> Assignee: Jochen Wiedmann
> Priority: Minor
> Fix For: 3.1.1
>
>
> 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.