cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stoeckel, Matthias" <Matthias.Stoec...@Dresdner-Bank.com>
Subject Re: [Bug] multiple Xalan transformations and i18n doesn't functio n with latest Cocoon snapshot
Date Mon, 28 Apr 2003 13:45:24 GMT
Hi Konstantin,

this is the output after all normal Xalan transformations:

<?xml version="1.0" encoding="UTF-8"?>
<page xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
 <title>Hello</title>
 <content>
  <para>This is my first Cocoon page!
  <i18n:text>a_key</i18n:text>
</para>
 </content>
</page>

And here after the i18n transformation:

<?xml version="1.0" encoding="UTF-8"?>
<page xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
 <title>Hello</title>
 <content>
  <para>This is my first Cocoon page!
  Dies ist der Wert eines Schlüssels.

There are no errors in the log. Here is the log part of the i18n
transformation. 

DEBUG   (2003-04-28) 15:40.35:116   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: Starting i18n element: text
DEBUG   (2003-04-28) 15:40.35:117   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: Start i18n element: text
DEBUG   (2003-04-28) 15:40.35:118   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: i18n message text = 'a_key'
DEBUG   (2003-04-28) 15:40.35:120   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: End i18n element: text
DEBUG   (2003-04-28) 15:40.35:146   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: End i18n element: para
DEBUG   (2003-04-28) 15:40.35:146   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: End i18n element: content
DEBUG   (2003-04-28) 15:40.35:147   [sitemap.transformer.i18n]
(/samples/hello-world/hello.html) PoolThread-4/I18nTransformer:
I18nTransformer: End i18n element: page


Cheers
  Matthias

Mime
View raw message