Doh, not pressed "reply all" the first time. :(
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)
--- Begin Message ---
El vie, 03-02-2006 a las 17:50 +0100, Torsten Stolpmann escribió:
> Hello dev-team,
> 
> In forrest 0.7 I noticed the following definition in sitemap.xmap:
> 
>     <map:transformer name="i18n" 
> src="org.apache.cocoon.transformation.I18nTransformer">
>      <catalogues default="common">
>        <catalogue id="common" name="CommonMessages" 
> location="skins/common/translations"/>
>      </catalogues>
>      <cache-at-startup>true</cache-at-startup>
>    </map:transformer>
> 
> Shouldn't the location of the catalogue read as follows to allow for 
> changing the project skins directory?
> 
>        <catalogue id="common" name="CommonMessages" 
> location="{project:skins-dir}common/translations"/>
> 
> I crosschecked against svn-HEAD - it is still unchanged.

Thanks for pointing this out. Actually it should be done with the new
locationmap. 

> 
> On a side note: I tried to override the above transformer definition by 
> adding the corrected version to my project's sitemap.xmap. This had no 
> noticable effect (I crosschecked by pointing to a modified catalogue).
> Am I doing something wrong here?

I think not, because the catalogue is a component configuration and read
when the component get defined. Have you tried to rename it like:
<catalogue id="commonMY" name="MyCommonMessages"
location="{prefix}common/translations"/>?

> 
> 
> Regards,
> 
>       Torsten
> 

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

--- End Message ---