commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Couralet <cedric.coura...@gmail.com>
Subject Re: [configuration] Unexpected trimming when value contains escaped delimiter
Date Tue, 27 May 2014 06:45:59 GMT
2014-05-26 21:45 GMT+02:00 Oliver Heger <oliver.heger@oliver-heger.de>:
> Hello Cédric,
>
> Am 26.05.2014 14:43, schrieb Cédric Couralet:
[...]
>> I don't really know if this is expected behavior so I didn't open a
>> bug report, should I?
>
> Splitting at delimiter characters has always been a source for bugs and
> inconsistencies. I think you have discovered one more, so feel free to
> open a bug report in Jira.

thanks, issue created here
https://issues.apache.org/jira/browse/CONFIGURATION-580
And to complete, there is a workaround by using another property value :

test1=titi\,toto
test2=${test1}\r\n

> Note that there is currently ongoing work on a redesigned version 2.0 of
> Commons Configuration. There has also been some changes in the handling
> of list delimiters. I hope that the new design makes it easier to
> customize splitting behavior.
>
> Oliver
>
>>
>> Cédric
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message