Re: Bad validator error

23.9.2011 18:35, Philip TAYLOR (Webmaster, Ret'd) wrote:

> Jukka Korpela wrote :
>
>> [T]he validator is simply based on a generic SGML parser.
>
> Is that true even for the experimental HTML 5 validator
> that Joe Java will have been using by virtue of his
> DOCTYPE ?

Oops. Right. HTML5 validation could probably be modified to accommodate 
various checks rather flexibly. But since empty p elements are not 
forbidden or even discouraged in HTML5, this would be a new kind of a 
diagnostic - surely not an error, and probably not even a warning (to 
avoid confusion with warnings that directly relate to what HTML5 says).

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

Received on Friday, 23 September 2011 16:01:32 UTC