You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/05/09 08:03:48 UTC

[jira] Resolved: (AXIS2-4036) Incorrect BigDecimal to xs:decimal conversion with Jdk 1.5+

     [ https://issues.apache.org/jira/browse/AXIS2-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4036.
-------------------------------------------------

    Resolution: Fixed

fixed the issue in ConverterUtil class. SimpleTypeMapper does not use this method.

> Incorrect BigDecimal to xs:decimal conversion with Jdk 1.5+
> -----------------------------------------------------------
>
>                 Key: AXIS2-4036
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4036
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4, 1.3
>         Environment: Jdk1.5
>            Reporter: Sven Blösl
>
> SimpleTypeMapper calls BigDecimal.toString() to convert the BigDecimal into a string.
> In a Java5 environment  this will produce invalid xs:decimal values for BigDecimals where the toString() decides to use scientific notation.
> The reason is that the semantic of BigDecimal.toString() has changed from Jdk1.4 to Jdk1.5. 
> The prior toString() semantic is now implemented by the new toPlainString() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org