[
https://issues.apache.org/jira/browse/CONFIGURATION-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Hebbrecht updated CONFIGURATION-411:
-------------------------------------------
Description:
I have this configuration element in my XML configuration:
{code}
<working-folder>\\test\test</working-folder>
{code}
... but when I want to print out the value, I notice the content of this node
changed to \test\test. So the first "\" has disappeared
I've created a M2 project that simulates the problem. Just hit mvn
eclipse:eclipse and run the Test.java file :-)
was:
I have this configuration element in my XML configuration:
<working-folder>\\test\test</working-folder>
... but when I want to print out the value, I notice the content of this node
changed to \test\test. So the first "\" has disappeared
I've created a M2 project that simulates the problem. Just hit mvn
eclipse:eclipse and run the Test.java file :-)
> XMLConfiguration: node text: first \ (backslash) of \\ (double backslash)
> character will not be in the configuration
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CONFIGURATION-411
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-411
> Project: Commons Configuration
> Issue Type: Bug
> Affects Versions: 1.6
> Reporter: Jochen Hebbrecht
> Priority: Minor
> Attachments: xmldoublebackslash.rar
>
>
> I have this configuration element in my XML configuration:
> {code}
> <working-folder>\\test\test</working-folder>
> {code}
> ... but when I want to print out the value, I notice the content of this node
> changed to \test\test. So the first "\" has disappeared
> I've created a M2 project that simulates the problem. Just hit mvn
> eclipse:eclipse and run the Test.java file :-)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.