W3C home > Mailing lists > Public > www-validator@w3.org > August 2008

Re: More transparency concerning "Missing xmlns attribute for element html" or [VE][no-xmlns]

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sat, 16 Aug 2008 12:22:23 +0300
Message-ID: <656B0F6F5EC04CE09FC2E9F51D2179B0@JukanPC>
To: "Ian Stuart" <Ian.Stuart@ed.ac.uk>, <www-validator@w3.org>

Ian Stuart wrote:

> For (2), I just always have
>
>          <html xmlns="http://www.w3.org/1999/xhtml">
>
> as "the magic incantation" as the html element

The attribute is required by XHTML specifications, so it would be absurd to 
use XHTML without using that attribute.

> (likewise, I *remove* the
>
>          xml:lang="en" lang="en"
>
> attribute from the same element, as they throw IE6 into "quirks mode"

Huh? Pardon? Can you prove it? I have never heard of anything like that, and 
it would be most weird. Quirks mode is weird in itself, but triggering it is 
based on doctype declaration issues.

(The xml:lang and lang attributes are not required by the formal syntax, but 
they are required by W3C WAI recommendations.)

Yucca
Received on Saturday, 16 August 2008 09:23:09 GMT

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