[Zope] TAL compilation error - SOLVED

Tom Nixon tom.nixon@aim23.com
Mon, 4 Mar 2002 14:57:48 -0000


For the benefit of the archive, this error was being caused by malformed
HTML tags within the <div> in question.

Lesson: Insist your web designers validate their HTML before you use it
within a Zope Page Template!

T.

> I am compiling a page template and I get this message:
> 
> Compilation failed
> TAL.TALDefs.METALError: METAL attributes on <div> require 
> explicit </div>, at line 203, column 1
> 
> I have checked my code and there is definitely a matching 
> </div> for every <div> on the page. Does anyone know how to 
> go about debugging this?
> 
> The tag at line 203, column 1 is <div metal:fill-slot="main">