[Zope] METAL and DOCTYPE

Peter Bengtsson mail@peterbe.com
Sun, 19 Jan 2003 12:29:09 +0000


When I use validator.w3c.org on my page it complains that no DOCTYPE is set.

But the PageTemplate (metal master) looks like this::

  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <html metal:define-macro="standard"
       tal:define="dummy 
python:request.RESPONSE.setHeader('Content-Type','text/html;; 
charset=iso-8859-1');dummy here/StopCache">
   <head>
  ....

Why does it not recognize my DOCTYPE?