[Zope-dev] PT preprocessing in XML mode

Julien Anguenot ja at nuxeo.com
Wed Nov 9 21:17:00 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

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 :)

	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

iD8DBQFDcq2cGhoG8MxZ/pIRAjVZAJ0T+jkvXEAsP9bhUTVf79uu467WxwCfeqnQ
534B0KOCT45rLR6qDNWmL1w=
=KNDR
-----END PGP SIGNATURE-----


More information about the Zope-Dev mailing list