W3C home > Mailing lists > Public > www-validator@w3.org > December 2000

Re: Bug in Meta handling

From: Jukka Korpela <Jukka.Korpela@hut.fi>
Date: Mon, 25 Dec 2000 17:59:58 +0200
To: www-validator@w3.org
Message-ID: <l70e4tguvna4vkqe2akv3lmbgvniupj762@4ax.com>
On Sun, 24 Dec 2000 23:23:48 -0500 (EST), you wrote:

>What puzzles me, though, is that <br /> <hr /> <img /> etc are in fact not
>complained about by the validator AFAIK, whereas <meta /> is. 

As http://www.hut.fi/~jkorpela/html/empty.html explains in some detail,
<meta /> is in fact equivalent to <meta >> according to HTML rules, i.e.
there is the tag <meta > followed by the plain character >. Since no
plain text outside elements is allowed inside the head element, this
implies a syntax error. In the body part, the syntax allows plain text
after a tag, depending on the context and on the DTD.

>As for XHTML/HTML, are you seriously saying that W3C has adopted a
>standard for the "next generation of HTML", namely XHTML, that is
>incompatible with HTML in both directions?

That's how things are anyway. It would be more serious than it is if
browsers actually parsed HTML correctly. Well, _some_ of them do, it
seems, see news:1em0chv.1l172v0y3se19N@news.bk30.de
(Michael Nahrath in comp.infosystems.www.authoring.html under
Re: Validators and the Word of God, 2000-12-21). But since most of them
do, I'm afraid the main consequence is that people will think that
validation is useless, theoretical, and "not what browsers care about",
even if they'll understand that this is _not_ a "bug in the validator".
-- 
Yucca, http://www.hut.fi/u/jkorpela/
Qui nescit tacere nescit et loqui
Received on Monday, 25 December 2000 11:01:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:55 GMT