Issue Details (XML | Word | Printable)

Key: CONFIGURATION-307
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Oliver Heger
Reporter: Oliver Heger
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Commons Configuration

XMLConfiguration should support the xml:space attribute

Created: 04/Feb/08 04:23 PM   Updated: 22/Aug/09 07:36 PM
Return to search
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.6

Time Tracking:
Not Specified

Resolution Date: 01/Jun/08 08:24 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Oliver Heger added a comment - 01/Jun/08 08:24 PM
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.