commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanouil Batsis <>
Subject Re: XMLConfiguration Trimming whitespace around node value
Date Thu, 05 May 2005 09:52:06 GMT
Chan, Joseph wrote:

>Could someone explain why XMLConfiguration trims the whitespace which
>surrounds the value of node?   This presents a problem when the XML
>Configuration contains formatted text.
Dont have a clue about the internals but as far as XML goes:

* if the formatted text is an attribute value, then that text value is 
normalized (whitespace is trimmed) by the XML parser
* if the formatted text is added as a child of an element then try 
adding xml:space="preserve"



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message