[
https://issues.apache.org/jira/browse/CONFIGURATION-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494115
]
Oliver Heger commented on CONFIGURATION-268:
--------------------------------------------
Adding new elements would change the indices of list elements in an almost
unpredictable way. This could be quite confusing if keys with indices were used.
I think I will go for the solution with the special delimiter and add some
notes to the Javadocs. I just found out that we do not support escaping the
escape character itself (e.g. in <dirs value="C:\Temp\,C:\Progs\"> the
backslash behind Temp would escape the list delimiter). Will try to fix this.
> XMLConfiguration does not fully support disabled delimiter parsing
> ------------------------------------------------------------------
>
> Key: CONFIGURATION-268
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-268
> Project: Commons Configuration
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Oliver Heger
> Assigned To: Oliver Heger
> Fix For: 1.5
>
>
> A call to setDelimiterParsingDisabled(true) should completely turn off the
> mechanism for searching for list delimiters and splitting property values.
> However XMLConfiguration.save() escapes list delimiters even in this mode.
> When later such a configuration file is loaded and delimiter parsing is
> turned off, the values of affected properties will contain the escape
> character.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]