The code I suggested does work, there is a test case with a similar syntax, see testChangingDelimiter() in TestPropertiesConfiguration:

http://svn.apache.org/repos/asf/jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java

This will work with 1.1-rc2

Emmanuel Bourg


Ha ryon wrote:
maybe try : AbstractConfiguration.setDelimiter('\uffff'); XMLConfiguration config = new XMLConfiguration();

I would assume that, it's better to change a static parameter before
an instance that need the change is created.

On Wed, 30 Mar 2005 17:24:12 +0200, Zsolt Koppany
<[EMAIL PROTECTED]> wrote:

setDelimiter is in AbstractConfiguration and XMLConfiguration doesn't
overwrite it.

Again: I'm using 1.1RC2, I don't have the source code of 1.1-RC2 thus I
cannot check it.

Zsolt

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to