Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4036

Incorrect BigDecimal to xs:decimal conversion with Jdk 1.5+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3, 1.4
    • None
    • adb
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbloesl Sven Blösl
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: