[ZPT] position of errors in zpt

Joachim Schmitz js at aixtraware.de
Fri Sep 12 11:50:42 EDT 2003


Hi,

If you have an error like an additional " in a zpt, you get:

Compilation failed
TAL.HTMLParser.HTMLParseError: malformed start tag, at line 4, column 73

but if you have an error like this:

<option value="role"
   tal:repeat="role model/sec_get_roles"
   tal:content="role"
   tal:attributes="value">

you get:

Compilation failed
TAL.TALDefs.TALError: Bad syntax in attributes:'value'

which does not give the position and the exact source-code of the error,
which makes it hard to find.


-- 
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163




More information about the ZPT mailing list