W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Allow trailing slash in always-empty HTML5 elements?

From: Robert Sayre <sayrer@gmail.com>
Date: Wed, 29 Nov 2006 10:00:46 -0500
Message-ID: <68fba5c50611290700y309f4624vcd9b88d41e7c8380@mail.gmail.com>
On 11/29/06, Lachlan Hunt <lachlan.hunt at lachy.id.au> wrote:
> I do not think it's a good idea to make the trailing slash conforming.
> Although it is harmless, it provides no additional benefit at all and it
> creates the false impression that the syntax actually does something.

It does do something, in systems that think they are using XML
(whether they actually are is another matter). It's possible it will
prevent  many information-free validation errors, and give the HTML5
more credibility as a result. Warning people about <img /> in the
validator is a waste of their time.

> It's not a
> good idea to confuse them any more by giving the impression that it
> works for some elements but not others.  It's better to just say it
> doesn't work at all and forbid it in all cases.

Better? This is an opinion, and it's not backed up by data. So far, it
looks like Sam has the data on his side. People do it, and it tends to
work interoperably.


Robert Sayre
Received on Wednesday, 29 November 2006 07:00:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:50 UTC