Leo Sutic wrote:
>
>>From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
>>
>>Leo Sutic wrote:
...
>>>Personally I prefer elements for multiplicity and for long text:
>>>
>>><description>
>>> This is my component. There are many like it,
>>> but this one is mine.
>>>
>>> "This is the second paragraph."
>>></description>
>>>
>>>is better than:
>>>
>>> <description text="This is my component. There are many
>>
>>like it, but
>>
>>>this one is mine. "This is the second paragraph.""/>
>>
>>Which is what I said.
>>Hey, doesn't this break DefaultConfigurationBuilder.?
>
>
> No. The DefaultConfigurationBuilder can handle elements as leaves in
> the config tree:
>
> <root>
> Illegal text. This text makes the <root/> element have mixed content.
> That is not allowed.
> <child>Legal text</child>
> </root>
Ah, ok, now I understand what you mean.
The fact that it has to be mixed or in containing elements is not a big
deal, the main content of the proposal is that element content ca be the
documentation... *shrugs* no big deal anyway.
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>