You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dwayne Smurdon @ Predictable Data (JIRA)" <ji...@apache.org> on 2013/09/25 01:16:04 UTC

[jira] [Created] (CONFIGURATION-555) XMLConfiguration doesn't seem to be preserving whitespace for the current node where xml:space="preserve" is set.

Dwayne Smurdon @ Predictable Data created CONFIGURATION-555:
---------------------------------------------------------------

             Summary: XMLConfiguration doesn't seem to be preserving whitespace for the current node where xml:space="preserve" is set.
                 Key: CONFIGURATION-555
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-555
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.9
         Environment: Windows 7, Java 7 64 bit.
            Reporter: Dwayne Smurdon @ Predictable Data


if I give this in the configuration:

<test xml:space="preserve"> a b c </test>

It does not seem to preserve the whitespace on the current node.  However, if I do
 
<space xml:space="preserve>
   <test> a b c </test>
</space>

it does preserve it. I would like to be able to turn on whitespace preservation without changing the path to my node.

I tested my values by printing out values retrieved from getList() method.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira