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

Re: It validates az HTML5 with no </head> and no </body>.

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Mon, 12 Dec 2011 16:31:39 +0100
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: "www-validator@w3.org" <www-validator@w3.org>, Jay Litwyn <brewhaha@freenet.edmonton.ab.ca>
Message-ID: <20111212163139438601.f4245288@xn--mlform-iua.no>
Jukka K. Korpela, Mon, 12 Dec 2011 17:04:23 +0200:
> 2011-12-12 16:25, Leif Halvard Silli wrote:
>> I did not find the original document where the problem manifested
>> itself.  But it sounds as if you say that the HTML5 validator never
>> issues an error message when @alt is lacking.
> I wrote about the specific case. The issue can be reconstructed:
> http://www.cs.tut.fi/~jkorpela/test/alt.html
> (It's a copy of the page as it is now, except that I removed the alt 
> attribute from the first <img> tag.)

Like I already said: the validator reports no errors when it validates 
via the URL, but does report errors when you paste in the code 
directly. I have not filed any bug on this, but the validator is 
clearly in error.
>> But that is not how it
>> is. Here is a test in validator.nu - validator.w3.org gives the same
>> result - where there is an error due to lack of @alt:
> It's rather questionable, for a checking tool, to report some issue 
> in some situations and be silent about it in others, without giving a 
> clue of what this depends on.

To begin with, I think the most important issue here, is the URL vs 
paste-in-the-source-code-directly issue. 
Leif H Silli
Received on Monday, 12 December 2011 15:32:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:24 UTC