[Zope-CMF] CMF/ZPT/<DTD's>
Peter Thoenen
pthoenen@uwm.edu
Fri, 10 May 2002 14:14:40 -0500
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
========================================