W3C home > Mailing lists > Public > www-validator@w3.org > November 2011

Re: [VE][247] Add Subject Here

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 16 Nov 2011 16:23:53 +0000
Message-ID: <4EC3E399.5040703@Rhul.Ac.Uk>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: www-validator@w3.org

Leif Halvard Silli wrote:

> My reading of the facts, puts the blame on the validator: It would not
> matter very much if the HTML4 validator had stopped issuing that
> warning.

If the validator were to stop issuing the warning, and an HTML 
4.01-compliant browser were to start treating the ">" as character
data (as it should), how would the poor user be able to identify
the cause ?

> Especially now that HTML5 allows the use of "/>" to close
> <img>  tags.

An HTML 4.01 document, with an HTML 4.01 DOCTYPE, is not,
and never will be, subject to HTML 5's rules.

> But even per HTML4's rules,  it is only a warning and not
> an error.

In this case, yes, because it occurs within an <img> tag
within the body; but if it were a <meta ... /> in the <head>
region ?  What then ?

Philip Taylor
Received on Wednesday, 16 November 2011 16:24:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:04 UTC