commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-268) XMLConfiguration does not fully support disabled delimiter parsing
Date Mon, 07 May 2007 19:42:16 GMT


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:
>             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 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:
For additional commands, e-mail:

View raw message