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 ;)


-- 
Cheers,

Peter Donald
-----------------------------------------------------------------------
|  I thought there was a knob on the TV to turn up the intelligence.  |
|      There's a knob called "brightness", but it doesn't work.       |
----------------------------------------------------------------------- 


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

Reply via email to