> 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to