cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Stopp (JIRA)" <>
Subject [jira] Created: (CXF-2847) BigDecimalType incorrectly prints scientific notation
Date Tue, 15 Jun 2010 21:30:23 GMT
BigDecimalType incorrectly prints scientific notation

                 Key: CXF-2847
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.2.9
            Reporter: Bryan Stopp
            Priority: Minor

By the SOAP spec, types of "decimal" are not supposed to use scientific notation (

However if the value of a BigDecimal is small enough, the toString() method (used by the BigDecimalType
class) will print using scientific notation.

Instead, this type mapper should use the toPlainString() method to ensure no scientific notation
is used.

I have attached a patch and an example to what i am referring. I don't have an actual unit
test for the BigDecimalType class itself.


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

View raw message