[Zope-CMF] Re: survey: zope 2.7 syntax errors with TAL statments over multiple lines

Gerry Kirk gerry at faithonline.com
Fri Jan 9 09:21:22 EST 2004


> I'm experiencing the same sort of problem as you - e.g., these lines
> (which happen to be from the epoz_toolbox.pt):
> 
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
>           tal:define="charset here/portal_properties/site_properties/default_charset; dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=%s' % charset)"
>           tal:attributes="content string:text/html;;charset=${charset}" />
> 
> produced an error before I moved the 2 tal:define clauses up onto one
> line.
> 
> very weird
> 

I was able to fix the problem by creating a new file, copy/pasting the 
contents of the original file into the new file, and saving it under the 
same name. I'm running everything in Linux.

- Gerry




More information about the Zope-CMF mailing list