cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: [C2] Possible bug in SitemapComponentSelector.select() ?
Date Wed, 01 Aug 2001 19:10:57 GMT
Stuart,

</snip>

> 
> A request for "new-test_news.html" is going to request 
> "cocoon:/select/news/test_news.xml" which, during its processing is going 
> to look for JaxpTransformer components from its own pool before that of 
> its parent.  Consequently, on every call it is going to create a whole new 
> pool and set of transformers.

SitemapComponentSelectors (and their pools) are created once during initialization
of (sub)sitemap, and parent is set to appropriate SitemapComponentSelector from the
parent sitemap (or Cocoon itself for main sitemap), see AbstractSitemap.compose() method.

When looking for component, first component from this sitemap is looked up. If none found,
selector attempts to get component from parent.

Are you able to reproduce your problem on Cocoon's example sitemap?

Vadim



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


Mime
View raw message