commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CONFIGURATION-307) XMLConfiguration should support the xml:space attribute
Date Sun, 01 Jun 2008 20:25:45 GMT

     [ 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.


Mime
View raw message