W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: HTML5 parser integrated in W3C Markup Validator

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 26 Aug 2008 00:58:42 +0000 (UTC)
To: Sam Ruby <rubys@intertwingly.net>
Cc: olivier Thereaux <ot@w3.org>, www-validator Community <www-validator@w3.org>, public-html@w3.org, Henri Sivonen <hsivonen@iki.fi>
Message-ID: <Pine.LNX.4.62.0808260056520.7044@hixie.dreamhostps.com>

On Mon, 25 Aug 2008, Sam Ruby wrote:
> > 
> > Test with a "random" HTML5 page:
> > http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fintertwingly.net%2Fblog%2F 
> 
> Random, eh?  :-)
> 
> The warning puzzles me.  I *think* that document is valid XHTML5, served with
> the MIME type that draft HTML5 standard suggests for such documents.
> 
> http://html5.validator.nu/?doc=http%3A%2F%2Fintertwingly.net%2Fblog%2F
> 
> Perhaps Ian or Henri could confirm?

This warning is definitely wrong. The MIME type overrides the DOCTYPE as 
far as parse mode goes, according to HTML5. "<!DOCTYPE HTML>" is a 
well-formed XML DOCTYPE.


> Here's HTML5 served as text/html:
> 
> http://rails.intertwingly.net/blog/index.html
> 
> And it produces a different warning:
> 
> http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Frails.intertwingly.net%2Fblog%2Findex.html&charset=(detect+automatically)&doctype=Inline&group=0
> 
> Which, again, is not produced by Henri's service:
> 
> http://html5.validator.nu/?doc=http%3A%2F%2Frails.intertwingly.net%2Fblog%2Findex.html

As far as I can tell, the warning is wrong. However, I don't really 
understand what it is warning about, so it's unclear.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 26 August 2008 00:59:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:22 GMT