[Zope] failure in lib/python/ZPublisher/HTTPResponse.py

Joachim Werner joe@iuveno-net.de
Mon, 28 Jan 2002 13:03:12 +0100


Hi!

The trailing "/>" (as in "<br />") is correct for XHMTL. Though Zope could
do even better and try to find out the HTML type (HTML 3.2, HTML 4,
XHTML)that is being used. As it will not be a problem for any browsers to
keep it as is, I consider it not a bug. In fact, all these "/>" were added
on purpose to create XHTML-compatible code ...

> produces invalid HTML code (check it with http://validate.w3.org) as of
the

I guess you validated against HTML 4 or so, not against XHMTL ...

Joachim