[Zope3-dev] Page Template oddity

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Jul 23 00:02:19 EDT 2005


Hi all,

I was just coding some ZPTs and noticed that the following code causes a page 
template parsing error:

<div>
<p>
  Items:
  <ul>
     <li>One</li>
  </ul>
</p>
</div>

Error:
2005-07-22 23:27:33,460 PageTemplateFile: Error in template: Compilation 
failed
zope.tal.htmltalparser.NestingError: Open tag <div> does not match close tag 
</p>, at line 13, column 3

Now this does not make sense at all. Also, the problem exists only for the "p" 
tag. Can someone verify this problem?

The last person that played with the PT code was Dimitry in revision 37358, 
37345 and 37346.

Dimitry, could you look into this, if confirmed?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list