I have 2 problems with I18N transformation. My configuration is Red Hat Linux
9, Tomcat 5.0.28 and Cocoon 2.1.7 but I also tried it on Windows with the same
Tomcat.
1. When the I18n transformer is the first and only transformer in the pipeline,
the transformation works but everytime I change something in the catalogue I
have to restart server (and clear browser cache if it is turned on) to get it
changed on the page. Is there any method to achieve that it will work without
restarting the server?
2. In my sitemap there are also pipelines like this :
<map:match pattern="phones-*">
<map:generate src="cocoon://xml/dynamic/phones.xml"/>
<map:transform src="phones-{1}.xsl"/>
<map:transform type="i18n">
<map:parameter name="locale" value="{../locale}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
In this case, when i18n comes after the xsl transformation in tomcat error log
I get this error.
ERROR (2005-09-20) 16:52.41:607 [sitemap.transformer.i18n]
(/ts/phones/phones-action.html)
http-88-Processor22/I18nTransformer.CatalogueInfo: Error obtaining catalogue
'dic' from <[Ljava.lang.String;@f0756d> for locale sk
org.apache.avalon.framework.component.ComponentException: Unable to locate
resource: dic (key [dic])
It looks like it cannot find catalogue but configuration of i18n transformer is
the same as in the case where it is the only transformation in the pipeline.
And it works without such error in that case. I tried to put log tranformer
between xsl and i18n but the SAX looked well, without any errors. Could anybody
try to help me in any way? I would be thankful.
Sincerely,
Rudolf Faber
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]