Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 65074 invoked from network); 17 Jun 2010 14:04:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 14:04:28 -0000 Received: (qmail 57226 invoked by uid 500); 17 Jun 2010 00:37:48 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 56626 invoked by uid 500); 17 Jun 2010 00:37:48 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 56212 invoked by uid 99); 17 Jun 2010 00:37:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 00:37:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 00:37:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5H0bNUm001484 for ; Thu, 17 Jun 2010 00:37:24 GMT Message-ID: <515546.44171276735043834.JavaMail.jira@thor> Date: Wed, 16 Jun 2010 20:37:23 -0400 (EDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2847) BigDecimalType incorrectly prints scientific notation In-Reply-To: <23375818.16761276637423218.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp updated CXF-2847: ----------------------------- Fix Version/s: 2.2.10 (was: 2.3) > BigDecimalType incorrectly prints scientific notation > ----------------------------------------------------- > > Key: CXF-2847 > URL: https://issues.apache.org/jira/browse/CXF-2847 > Project: CXF > Issue Type: Bug > Components: Aegis Databinding > Affects Versions: 2.2.9 > Reporter: Bryan Stopp > Assignee: Benson Margulies > Priority: Minor > Fix For: 2.2.10 > > Attachments: BigDecimalStringTest.java, BigDecimalType.java.patch > > > By the SOAP spec, types of "decimal" are not supposed to use scientific notation (http://www.w3.org/TR/xmlschema-2/#decimal). > 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. > -B -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.