[Zope-dev] Re: PT preprocessing in XML mode
Julien Anguenot
ja at nuxeo.com
Wed Nov 9 22:31:43 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tres Seaver wrote:
> Julien Anguenot wrote:
>
>>> I'm stuck with a PT behavior I wasn't expecting at all.
>>>
>>> Let's say I got this PT sample :
>>>
>>> <?xml version="1.0" encoding="utf-8" ?>
>>> <doc xmlns:tal="http://namespace.zope.org/tal/">
>>> <span tal:replace="string:foo"/>
>>> </doc>
>>>
>>> Then when I render this sample I get the exact above document. The 'tal'
>>> instruction has not been processed !
>>>
>>> The exact equivalent in dtml would gimme what I was expecting. (i.e : a
>>> preprocessing of the dtml tags)
>>>
>>> The behavior is the same with Zope2 and Zope3 PTs.
>>>
>>> Can I consider this as a bug that needs to be fixed ? Or am I missing
>>> something here because it's pretty late :)
>
> The namespace URI is incorrect; it should be
> http://xml.zope.org/namespaces/tal
> (see TAL/TALDefs.py).
>
Thank you Tres ! :) Great !
J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDcr8fGhoG8MxZ/pIRAucyAKCChnLiXJ0jgevGIhH0GZpAXAVB/QCgiGY8
rgupRgCV/SGRRngBBHOcKJk=
=uqK+
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list