cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [PROPOSAL] Changing Source interface
Date Mon, 20 Aug 2001 13:11:28 GMT
> Vadim Gritsenko wrote:
> 
> Hi,
> 
> One more change is required in Source interface as it exist now.
> 
> Problem:
>    <map:match pattern="hello.xsl">
>     <map:generate src="stylesheets/page/simple-page2html.xsl"/>
>     <map:serialize type="xml"/>
>    </map:match>
>    <map:match pattern="hello.html">
>     <map:generate src="docs/samples/hello-page.xml"/>
>     <map:transform src="cocoon:/hello.xsl"/>
>     <map:serialize type="html"/>
>    </map:match>
> Pipeline assembled by SitemapSource is never released as 
> TraxTransformer in its'
> recycle method just nullifies reference.
> 
> Proposed solution:
> Step 1: Source interface must have some method like recycle(), 
> but it is not a component,
> so may be we should use other method name, like release().
> Step 2: Enforce usage of this method in all users of Source interface.
> 
> Comments?
> 
It seems that calling this method is necessary. I am +1 on release()
as the source is not recycled.

Carsten

> Thanks,
> Vadim
> 
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message