cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: DO NOT REPLY [Bug 35521] - [PATCH] NEW - a NullSource component
Date Thu, 28 Jul 2005 21:28:56 GMT
Vadim Gritsenko wrote:

> bugzilla@apache.org wrote:
>
>> cziegeler@apache.org changed:
>>
>>            What    |Removed                     |Added
>> ---------------------------------------------------------------------------- 
>>
>>              Status|NEW                         |RESOLVED
>>          Resolution|                            |FIXED
>>
>>
>> ------- Additional Comments From cziegeler@apache.org  2005-07-28 
>> 07:38 -------
>> I applied a different solution: a new 'create-document' source, that 
>> is able to provide an empty document, like your solution, but also a 
>> document that just has a root node. I implemented caching etc. as well.
>
>
> IMHO, wording "create-document" implies that (probably persistent) 
> document is being created somewhere, which is then fed into the pipeline.
>
> "null", on the other hand, is closer to the meaning of what source 
> actually does. If "null" seems inappropriate, it can be named "empty", 
> which imho is the best name for it:
>
>    empty:
>    empty:root-element
>
>
> WDYT?...


+1. "empty" is clearer about this source's intent.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message