[Zope] Zope , DTML, ZPT and XHTML strict
Geir Bækholt
Geir Bækholt <geirh@funcom.com>
Fri, 12 Oct 2001 09:01:29 +0200
For an appserver like Zope, heading so quickly into the future and
supporting so many new technologies , i find it relatively tough to
use DTML and ZPT to create valid XHTML 1.0 strict , which, according
to the w3c is the way we all are heading...
There is an annoying amount of old-style html-stuff hardcoded in Zope
(and an incredible amount in products...) , which makes it tough to
use a lot of stuff to create valid XHTML strict :
some examples are : - calling images in dtml/ZPT out writes
height/width(which is a good thing) , but also border=3D"0", which
is not only deprecated in all of XHTML , but even not allowed in
STRICT..
structured text creates tables in uppercase ; not allowed..
the tree-tag creates a horrendous table-structure, which although
i haven't checked it's validity is clearly against the w3's
recommendation of using CSS for layout , and not tables.
it is still impossible to create valid XHTML singleton attributes
in ZPT (example 'checked' should be 'checked=3D"checked"')
Credit to those who fixed the image tag and the base tag to at least
have their trailing slashes, though.. It was a step in the right
direction..
Does anyone have any suggestions for how to fix this , and head
forwards when it homes to HTML/XHTML too , not only in
backend-technologies =3F
:-)
--=20
Geir B=E6kholt web-developer
geirh@funcom.com funcom oslo | webdev-team