cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fawzib Rojas <f_ro...@spectron-msim.com>
Subject Weird I18NTransformer problem (Cocoon 2.2)
Date Wed, 14 Mar 2012 21:00:06 GMT
I Cocoon 2.2 running on Glassfish 3.1 and I'm using the I18nTransformer 
and I'm using a generator to create the translation files (see pipelines 
and transformer config below), my problem is thet when I use the 
DerbyEmbedded database, the transformer does not work, I can call the 
pipelines ok so is a transformer+DerbyEmbedded problem. It works with 
DerbyNetworkServer and MSSQL.

Transformer config:

<map:transformer name="i18n" 
src="org.apache.cocoon.transformation.I18nTransformer">
<catalogues default="msim_id">
<catalogue id="msim_id" name="dictionary" location="cocoon:/" />
</catalogues>
<untranslated-text>untranslated</untranslated-text>
<cache-at-startup>true</cache-at-startup>
</map:transformer>

Dictionary pipelines:

<map:pipeline id="translation" type="noncaching">
<map:match pattern="dictionary.xml">
<map:generate type="dictionary" src="en" />
<map:serialize type="xml" />
</map:match>

<map:match pattern="dictionary_en.xml">
<map:generate type="dictionary" src="en" />
<map:serialize type="xml" />
</map:match>

<map:match pattern="dictionary_es.xml">
<map:generate type="dictionary" src="es" />
<map:serialize type="xml" />
</map:match>
</map:pipeline>



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


Mime
View raw message