Peter Donald wrote:
> On Wed, 28 Aug 2002 22:23, Nicola Ken Barozzi wrote:
> 
>>[EMAIL PROTECTED] wrote:
>>
>>>donaldp     2002/08/28 04:50:59
>>>
>>>  Modified:   
>>>containerkit/src/java/org/apache/excalibur/containerkit/tools/infobuilder
>>>componentinfo.dtd XMLInfoCreator.java
>>>              
>>>containerkit/src/java/org/apache/excalibur/containerkit/demo/components
>>>Component1-info.xml
>>>  Log:
>>>  Allow attributes to have their data specified as content rather than as
>>>value of an attribute.
>>>
>>>
>>>  +                <attribute key="foo" value="bar"/>
>>>  +                <attribute key="foo2">
>>>  +                    blah blah blah
>>>  +                </attribute>
>>
>>Any real need for this?
>>It creates confusion with the handling of newlines, and consistency
>>with usual Configurations that in practice usually never use content.
> 
> 
> Theres a need. I am generating web pages for each component that describes the 
> component and dependencies and so forth. Part of the descriptor is including 
> a description string and when you try to put it in an attribute it gets real 
> ugly. ie Try putting four paragraphs of escaped html in an attribute and you 
> will see what I mean ;)

;-)


Ok, I understand the need, but then, why under the attributes?
Why not a <description> taga ala Ant, it doesn't seem like a generic 
attribut to me...

-- 
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]>

Reply via email to