cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koen Pellegrims" <>
Subject i18n:attr trouble
Date Fri, 30 Aug 2002 10:02:22 GMT

I have quite a weird problem with i18n here.
First of all: All the i18n examples work perfectly!

... but when I try to translate an attribute I run into trouble.

the snippet is very simple:
<a href="yadayada.html">
	<img src="bla.jpg" alt="image" i18n:attr="alt"/>

the relevant pipeline is:
<map:match pattern="file.html">
	<map:generator src="file.xml"/>
	<map:transform src="file.xsl"/>
	<map:transform type="i18n"/>

As long a I leave out the "i18n:attr" everything works perfectly (text is
translated as it should)
I added a bit more debug-info to the I18nTransformer and it seems	to 'stop'
on the removal of the attribute from the AttributesImpl-object
(really: the request just 'stops', nothing appears in the logs anymore, not
in Cocoon, nor in Tomcat)

I know Xerces had some trouble a while ago with the implementation of
AttributesImpl, but I tried Xerces-J-2.1.0 and I get the same (non-)results.

Any thoughts?


System: Linux
        Java 1.4.0 with Xerces 2.1.0 and xmlApis in jre/lib/endorsed
        Tomcat 4.0.4
        Cocoon 2.0.3 with Xerces 2.1.0 and xmlApis in WEB-INF/lib

To unsubscribe, e-mail:
For additional commands, email:

View raw message