[Zope] w3c validation and <base .../> tag
Dan Jacobs
dan@caliginous.com
Mon, 23 Sep 2002 16:42:55 +0100 (BST)
Martijn,
That's a good point, perhaps someone from zopecorp could drop them an
e-mail
about this?
Regards,
Dan
On Mon, 23 Sep 2002, Martijn Pieters wrote:
> On Mon, Sep 23, 2002 at 05:10:05PM +0200, Ulrich Wisser wrote:
> > Zope inserts this <base href="http://zope.website/" />
> > which maybe is valid xhtml but not HTML 4.01.
>
> At most the validator should tell you the '/' is not a valid attribute. The
> base element *is* a legal element in the HTML 4.01 spec:
>
> http://www.w3.org/TR/html401/struct/links.html#edef-BASE
>
> As it is impossible to detect when you are trying to generate XHTML and when
> HTML in all cases, Zope *has* to include the additional slash.
>
> In my opinion, the W3C validtor is broken in the face of their own
> recommendation for transisition from HTML to XHTML; it is the W3C
> recommendation to use ' /' (with the space) at the end of empty XHTML tags
> to avoid breakage in non-XHTML browsers.
>
> --
> Martijn Pieters
> | Software Engineer mailto:mj@zope.com
> | Zope Corporation http://www.zope.com/
> | Creators of Zope http://www.zope.org/
> ---------------------------------------------
>
> _______________________________________________
> 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 )
>
- Dan Jacobs
- 07956 246 659