[Zope] failure in lib/python/ZPublisher/HTTPResponse.py
Dirk Datzert
Dirk.Datzert@rasselstein-hoesch.de
Mon, 28 Jan 2002 11:32:29 +0100
Hi Markus,
I think that the <tag /> is the XHTML variant of an empty tag.
Have you a error in your Browser or does the base-tag not work ?
Regards,
Dirk
Markus Pietrek schrieb:
> Hi folks,
>
> Perhaps this is already well known but I'm new to this list.
>
> There seems to be a failure Zope 2.4.3 in
> lib/python/ZPublisher/HTTPResponse.py, Line 362
>
> The code
> self.body=('%s\n<base href="%s" />\n%s' %
> (body[:index], self.base, body[index:]))
>
> produces invalid HTML code (check it with http://validate.w3.org) as of the
> "/>". In my opinion it should be:
> self.body=('%s\n<base href="%s">\n%s' %
> (body[:index], self.base, body[index:]))
>
> Bye,
> --
>
> Markus Pietrek
> FS FORTH-SYSTEME GmbH
> Phone: +49 (7667) 908 145, FAX +49 (7667) 908 221
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )