Rob Allen wrote:
> 
> On 6 Dec 2007, at 20:00, Darby Felton wrote:
> 
>> Zend_Config_Xml was not designed to support multiple values of the same
>> name to be represented as an array. Instead, you could do something like:
>>
>> ...
>> <emailList>
>>    <subject1>...</subject1>
>>    <subject2>...</subject2>
>> </emailList>
>> ...
>>
>> or maybe
>>
>> ...
>> <emailList>
>>    <tech>...</tech>
>>    <billing>...</billing>
>> </emailList>
>> ...
>>
>> Maybe Rob can chime in with his thoughts?
>>
> 
>  We modified Zend_Config_Ini to allow the use of numeric keys. I wonder
> if there's something similar we can do here?

There are several mismatches between INI and XML formats, so it's no
surprise that we must treat each a bit differently. How would having
multiple values work in INI, or would we not support this?

Numeric tag names make illegal XML, so we already have functionality in
Zend_Config_Ini that is not supported with Zend_Config_Xml.

In principle, I have no objection to adding such support.

Thanks, Rob!

> 
> Regards,
> 
> Rob...
> 

Reply via email to