Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 88269 invoked from network); 12 Jul 2005 13:44:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 13:44:14 -0000 Received: (qmail 10643 invoked by uid 500); 12 Jul 2005 13:44:09 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 10585 invoked by uid 500); 12 Jul 2005 13:44:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 10569 invoked by uid 99); 12 Jul 2005 13:44:08 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 06:44:00 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 9B5C315; Tue, 12 Jul 2005 15:43:57 +0200 (CEST) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 35704] New: - Comma separation in Strings X-Bugzilla-Reason: AssignedTo Message-Id: <20050712134357.9B5C315@ajax.apache.org> Date: Tue, 12 Jul 2005 15:43:57 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35704 Summary: Comma separation in Strings Product: Commons Version: 1.1 Final Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Configuration AssignedTo: commons-dev@jakarta.apache.org ReportedBy: jplanz@c-lab.de In germany floating piont numbers are divided by a comma: 12,44 in germany would be 12.44 in english. So when I want to insert a floating point number into a XMLConfiguration like this: [code] xml.addProperty("tables.table.fields.field(-1).name", "Preis"); xml.addProperty("tables.table.fields.field.type", "single"); xml.addProperty("tables.table.fields.field.value", "11,99"); try{ xml.save(); } catch(ConfigurationException x1){} [/code] it leads to this: Preis single 11 99 The (german) number 12,99 is split into two -sections and not put into one (12,99). This also happens if you want to put for example a name and surname into one String, divided by a comma the same problem occurs. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org