[Zope-CMF] CMF/ZPT/<DTD's>
alan runyan
alan runyan" <runyaga@runyaga.com
Fri, 10 May 2002 14:21:24 -0500
see ZPT mailing list
http://lists.zope.org/pipermail/zpt/2002-March/002868.html
----- Original Message -----
From: "Peter Thoenen" <pthoenen@uwm.edu>
To: <zope-cmf@zope.org>
Sent: Friday, May 10, 2002 2:14 PM
Subject: [Zope-CMF] CMF/ZPT/<DTD's>
> Hello,
>
> Not sure this is the correct list to address this issue but I am
> currently setting up a CMF site (first time using zope also) and while I
> have the ZPT and CMF configuration figured out, I am also a stickler for
> w3c standards. This of course requires the following on to of everypage
> (xhtml 1.1).
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
>
> Yet as far as I can tell, ZPT or CMF doesn't allow ANY tags before the
> <html> tag. Needless to say, the following breaks (with an error):
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html metal:define-macro="master"
> xml:lang="en"
> xmlns="http://www.w3.org/1999/xhtml"
> xmlns:tal="http://xml.zope.org/namespaces/tal"
> xmlns:metal="http://xml.zope.org/namespaces/metal">
>
> Is there a way around this or am I dooomed to not being able to meet
> standards compliance.
>
> Thanks,
>
> Peter
>
> --
> ========================================
> Peter Thoenen - System Administrator
> UW-Milwaukee - Career Dev Center
> vox:414.229.4486 - fax:414.229.5347
> email:pthoenen@uwm.edu || eol1@yahoo.com
> ========================================
>
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>