Hi all: I have downloaded Zope-2.6.2-linux2-x86 and I have created a page template with xml content, but when I try to test it the next message appears: Error Type: ImportError Error Value: cannot import name expat Is this a bug? El lun, 10-11-2003 a las 18:08, Sidnei da Silva escribió:
On Mon, Nov 10, 2003 at 05:50:46PM +0100, Antonio Beamud Montero wrote: | Hi all: | I have problems to rendering data if the ZPT is xml content-type. | I have include xmlns:tal namespace definition and a replacemente of an | attribute in the xml text with | <loc src="http://localhost" tal:attributes="src here/absolute_url"> | | But this replacement is ignored and if I try to view this method, the | xml is exactly the same... | | What I need to do to rendering this document appliying changes?
Try python:here.absolute_url(). If that works, then you hit a bug in the C Security Policy, which has been fixed by Chris McDonough in the last bugday. -- Antonio Beamud Montero <antonio.beamud@linkend.com>