Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 41523 invoked from network); 21 Jun 2009 17:40:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jun 2009 17:40:19 -0000 Received: (qmail 77967 invoked by uid 500); 21 Jun 2009 17:40:29 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77853 invoked by uid 500); 21 Jun 2009 17:40:29 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 77843 invoked by uid 99); 21 Jun 2009 17:40:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 17:40:29 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 17:40:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 61D3A234C004 for ; Sun, 21 Jun 2009 10:40:07 -0700 (PDT) Message-ID: <1847237206.1245606007389.JavaMail.jira@brutus> Date: Sun, 21 Jun 2009 10:40:07 -0700 (PDT) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (CONFIGURATION-362) XMLPropertyListConfiguration doesn't handle empty dictionary correctly In-Reply-To: <1421203849.1233617159760.JavaMail.jira@brutus> 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/CONFIGURATION-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg resolved CONFIGURATION-362. ------------------------------------------ Resolution: Fixed > XMLPropertyListConfiguration doesn't handle empty dictionary correctly > ---------------------------------------------------------------------- > > Key: CONFIGURATION-362 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-362 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: 1.6 > Environment: Mac OS X 10.5.6 JDK 1.5 > Reporter: Kent McPhee > Assignee: Emmanuel Bourg > Fix For: 1.7 > > > Empty "dict" elements are not handled properly. During printing of a configuration, configuration nodes that have no children and no value are assumed to be "strings" (see XMLPropertyListConfiguration.java:printValue()'s last "else" clause). is parsed in such a way (see startElement() and endElement() of that same file) that it ends up creating a configuration node with no children and no value. Thus printing out a parsed property list will print null everywhere an empty dictionary was in the input. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.