[Zope] HTML validation failure with DTML-renders -- ends tag with />

marc lindahl marc@bowery.com
Mon, 01 Oct 2001 12:43:37 -0400


> From: "Trevor Toenjes" <zope@toenjes.com>
> 
> But, to address your toggle idea as a techno newbie.  If you could set a
> namespace or SiteAccess/HostMonster space to the CONTENT-TYPE or ISO-XXX,
> then Zope would render  based on this property.  This would require
> additional render libraries for Zope, but might open it to support different
> standards.

The other way you could look at it:
You can set the DOCTYPE in standard_html_header, and that should dictate how
the browser interprets your tags.  It certainly affects how the w3c
validator looks at them.  E.g.:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">