[ZPT] <tal:block i18n:translate="">foo</tal:block>
Lalo Martins
lalo@laranja.org
Tue, 27 Aug 2002 15:32:46 -0300
On Tue, Aug 27, 2002 at 01:36:34PM -0400, Fred L. Drake, Jr. wrote:
>
> Lalo Martins writes:
> > This morning we just discovered that
> > <tal:block i18n:translate="">foo</tal:block> breaks ZPT. This means the
> > xmlish parser is borked - it should ignore everything that has different
> > namespaces, even in elements with metal: and tal: as element namespace.
>
> I'll take a look at this. From a little quick experimentation using
> the Zope trunk (since you didn't give a Zope version number), it looks
> like creating a HTML template with your example markup has problems at
> compile time.
>
> If you're using some other flavor of ZPT, please let me know. I'll be
> looking at the version on the Zope 2 trunk, which does not have the
> I18N support.
Sorry about the incomplete bug report, it was a "forwarded" report from
someone using Zope 2.5.1. Personally I'm using my alphaish AltPT which did
not have that bug ;-)
Your fix seems fine to me. I'll test it ASAP or have someone do it for me.
Thanks,
|alo
+----
--
Those who trade freedom for security
lose both and deserve neither.
--
http://www.laranja.org/ mailto:lalo@laranja.org
pgp key: http://www.laranja.org/pessoal/pgp
Eu jogo RPG! (I play RPG) http://www.eujogorpg.com.br/
Python Foundry Guide http://www.sf.net/foundry/python-foundry/