cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@yahoo.com>
Subject [PROPOSAL] Changing Source interface
Date Sat, 18 Aug 2001 18:42:08 GMT
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?

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


Mime
View raw message