commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Gladwell <ricardo.gladw...@btinternet.com>
Subject Re: [Configuration] XML Processing Problem
Date Mon, 16 Aug 2004 09:31:04 GMT
Hi,

I believe this has already been fixed. The solution I used was:

<test>
   <array attribute="value1"/>
   <array attribute="value2"/>
   <array attribute="value3"/>
   <array attribute="value4"/>
</test>

Using one comma seperated string would mean that attributes cannot 
otherwise contain comma characters.

Kind regards...

-- 
Ricardo Gladwell

Emmanuel Bourg wrote:
> Eric Pugh wrote:
> 
>> Any suggestions on how to fix this?  I am somewhere deep down in private
>> void setXmlProperty(String name, Object value) and quite lost!
> 
> 
> Hehe welcome to the setXmlProperty hell ;) I think we'd better use comma 
> separated values for list properties in attributes:
> 
> <test>
>     <attribute array="value1, value2, value3, value4">
> </test>
> 
> Emmanuel Bourg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 

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


Mime
View raw message