[Yanel-dev] What is difference between the various
I18n transformers
Michael Wechner
michael.wechner at wyona.com
Tue Mar 27 15:23:20 CEST 2007
Josias Thöny wrote:
> Michael Wechner wrote:
>
>> Hi
>>
>> What is the major difference between the two I18n Transformers?
>>
>> import org.wyona.yanel.core.transformation.I18nTransformer;
>> import org.wyona.yanel.core.transformation.I18nTransformer2;
>
>
> There are two differences:
> The I18nTransformer is not really a transformer, it's a
> DefaultHandler. Hence it cannot be used in a SAX pipeline.
> The I18nTransformer2 implements TransformerHandler to make pipelining
> work.
>
> The other difference is that the I18nTransformer2 supports cocoon-like
> i18n syntax in addition to the proprietary syntax of the I18nTransformer.
>
> The idea was to eventually mark the I18nTransformer as deprecated.
I guess we can ;-) because it doesn't really seemed to be used within
most classes.
Do you want to change it?
Thanks
Michi
>
>
> Josias
>
>>
>> Thanks
>>
>> Michi
>>
>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list