[ 
https://issues.apache.org/jira/browse/CONFIGURATION-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Heger resolved CONFIGURATION-428.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7

A fix was applied to subversion in revision 1034125. This should solve the 
immediate problem. However, there are probably still issues related to list 
delimiters and backslashes in attributes. With our current implementation of 
list handling it is probably not possible to resolve all these issues with a 
reasonable affort. Therefore I added a corresponding remark and warning to the 
user's guide.

In Commons Configuration 2.x list handling will probably be redesigned. For 
this reason I did not port the fix for this issue to the Configuration 2 branch.

> The Windows file path cannot be saved correctly as expected in 
> XMLConfiguration
> -------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-428
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-428
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.6
>         Environment: WIN2K3
>            Reporter: Terrence Xu
>            Assignee: Oliver Heger
>             Fix For: 1.7
>
>
> I want to generate a XML as:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <Test>
>     <Cluster>
>         <Server location="C:\Server92"/>
>     </Cluster>
> </Test>
> {code}
> Java Code:
> {code:title=Test.java|borderStyle=solid}
> XMLConfiguration config = new XMLConfiguration();
> config.setRootElementName("Test");
> config.addProperty("cluster.serv...@location]",  "C:\\Server92");
> config.save("C:\\NEW.xml");
> {code}
> BUT after running the Java Code, the generated XML looks like:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <Test>
> <Cluster>
> <Server location="C:\\Server92"/>
> </Cluster>
> </Test>
> {code}
> You will find that the location is "C:\ \Server92", BUT what I expected is 
> "C:\Server92".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to