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

Gary D. Gregory reopened CONFIGURATION-769:
-------------------------------------------

> commons configuration addProperty method replaces < > with &lt &gt
> ------------------------------------------------------------------
>
>                 Key: CONFIGURATION-769
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-769
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 2.6
>            Reporter: Deepraj jha
>            Priority: Critical
>             Fix For: 2.8
>
>
> I am using latest Apache commons configuration 2 version 2.6 and when trying 
> to invoke addProperty it replaces < > with &lt &gt.
> example :
> cfg.addProperty("data.array(0).var(0)",  "<var name=myds1>" );
> cfg.write(new FileWriter(this.XmlFile));
> Here cfg is XMLConfiguration Object
> The resulting xml is :
>  {{            <var>&lt;var name=myds1&gt;</var>}}
> Expected is :
>  {{            "<var name=myds1>"}}
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to