Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3, 1.4
-
None
-
None
-
Jdk1.5
Description
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.