Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 88142 invoked from network); 1 Jun 2008 20:26:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2008 20:26:09 -0000 Received: (qmail 56405 invoked by uid 500); 1 Jun 2008 20:26:10 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 56325 invoked by uid 500); 1 Jun 2008 20:26:10 -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 56314 invoked by uid 99); 1 Jun 2008 20:26:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jun 2008 13:26:10 -0700 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, 01 Jun 2008 20:25:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09819234C12E for ; Sun, 1 Jun 2008 13:25:45 -0700 (PDT) Message-ID: <1322169134.1212351945037.JavaMail.jira@brutus> Date: Sun, 1 Jun 2008 13:25:45 -0700 (PDT) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (CONFIGURATION-307) XMLConfiguration should support the xml:space attribute In-Reply-To: <7952381.1202142307985.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Heger resolved CONFIGURATION-307. ---------------------------------------- Resolution: Fixed A fix has been committed. The xml:space attribute is now evaluated. Setting it to the value "preserve" causes the whitespace in this element and its child elements to be preserved. > XMLConfiguration should support the xml:space attribute > ------------------------------------------------------- > > Key: CONFIGURATION-307 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-307 > Project: Commons Configuration > Issue Type: New Feature > Affects Versions: 1.5 > Reporter: Oliver Heger > Assignee: Oliver Heger > Priority: Minor > Fix For: 1.6 > > > With XMLConfiguration it is currently not possible to control the treatment of whitespace in XML elements. The XML specification defines the xml:space attribute for this purpose (http://www.w3.org/TR/REC-xml/#sec-white-space). XMLConfiguration should evaluate this attribute and avoid any trim operations on an element's content if it is present. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.