cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: i18n catalogues and caching
Date Thu, 13 Jan 2005 20:28:44 GMT
Joerg Heinicke wrote:
> Joerg Heinicke <joerg.heinicke <at> gmx.de> writes:
> 
> 
>>I have a problem with
>>the caching of the i18n catalogues. The location of one i18n catalogue is
>>defined to be dependent on {request-attr:xyz}, so it can change on each
>>request. But the first access to this i18n transformer caches the catalogue
>>and its location, later accesses to the transformer will not have the correct
>>catalogues available. Is it possible to either prevent the caching of the
>>catalogues at all or - even better - to influence the caching by adding the
>>dependency on the request attribute?
> 
> 
> I had a look into the code - and the JavaDoc describes the behaviour it should
> have and I want to have, but it obviously does not have:
> 
> JavaDoc for CatalogueInfo (inner class of I18nTransformer):
> "Holds information about one catalogue. The location and name of the catalogue
> can contain references to input modules, and are resolved upon each transformer
> usage. It is important that releaseCatalog is called when the transformer is
> recycled."
> 
> Any idea what can go wrong?

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=110064557022481&w=2 - maybe the 
4th paragraph gives some hint ...

-- 
Reinhard

Mime
View raw message