You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2008/02/04 17:25:07 UTC
[jira] Created: (CONFIGURATION-307) XMLConfiguration should support
the xml:space attribute
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
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.
[jira] Resolved: (CONFIGURATION-307) XMLConfiguration should
support the xml:space attribute
Posted by "Oliver Heger (JIRA)" <ji...@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.