Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 55915 invoked from network); 20 Nov 2005 16:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Nov 2005 16:20:34 -0000 Received: (qmail 70458 invoked by uid 500); 20 Nov 2005 16:20:29 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 70419 invoked by uid 500); 20 Nov 2005 16:20:28 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 70408 invoked by uid 99); 20 Nov 2005 16:20:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2005 08:20:28 -0800 Received-SPF: pass (asf.osuosl.org: domain of bob@najdi.si designates 193.189.169.107 as permitted sender) Received: from [193.189.169.107] (HELO elfstone.noviforum.si) (193.189.169.107) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2005 08:22:01 -0800 Received: from localhost (localhost [127.0.0.1]) by elfstone.noviforum.si (ESMTP) with ESMTP id 727601B91A for ; Sun, 20 Nov 2005 17:20:05 +0100 (CET) Received: from [194.249.52.164] (clj8-164.dial-up.arnes.si [194.249.52.164]) by elfstone.noviforum.si (ESMTP) with ESMTP id 19C561B918 for ; Sun, 20 Nov 2005 17:20:02 +0100 (CET) Message-ID: <4380A240.3050507@najdi.si> Date: Sun, 20 Nov 2005 17:20:16 +0100 From: =?UTF-8?B?Qm9ydXQgQm9sxI1pbmE=?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons Subject: [configuration] Unexpected behavior Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Najdi.si X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, when having an attribute value with commas in XML configuration file, this value gets splitted. An example: <=== offending (I) 1.a (I) 1.b (I) 1.c <=== offending (I) 2.a (I) 2.b (I) 2.c ... When calling this method /** * @return all questions from XML configuration file */ @SuppressWarnings("unchecked") public Collection getQuestions() { String ofQuestions = "set.question[@text]"; return config.getList(ofQuestions); } the returned list contains *four* instead of two questions: 1.) First question 2.) something after comma 3.) Second question 4.) which includes comma in the sentence Is this by design? I think this should not work this way. Regards, Borut --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org