cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: DO NOT REPLY [Bug 35521] - [PATCH] NEW - a NullSource component
Date Thu, 28 Jul 2005 20:37:17 GMT wrote:
> changed:
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED
> ------- Additional Comments From  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:




View raw message