commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dwayne Smurdon @ Predictable Data (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-555) XMLConfiguration doesn't seem to be preserving whitespace for the current node where xml:space="preserve" is set.
Date Sun, 29 Sep 2013 22:12:24 GMT

    [ https://issues.apache.org/jira/browse/CONFIGURATION-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781511#comment-13781511
] 

Dwayne Smurdon @ Predictable Data commented on CONFIGURATION-555:
-----------------------------------------------------------------

Thanks for looking into and resolving this, Oliver.  

> 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
>              Labels: xml:space
>             Fix For: 2.0
>
>
> 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 on the
current node without changing the path to my node.
> I tested my values by printing out values retrieved from getList() method.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message