[whatwg] lang versus xml:lang

Simon Pieters zcorpan at gmail.com
Sun Mar 4 15:24:51 PST 2007


On Mon, 05 Mar 2007 00:17:56 +0100, Anne van Kesteren <annevk at opera.com>  
wrote:

> Yup. I start to think that lang="" should also be allowed in XML  
> documents. xml:lang is nice, but if you don't have knowledge of the HTML  
> namespace knowing the language of certain constructs isn't that  
> valuable. It would also make HTMLElement.lang useful for XML documents...

If lang="" in text/html will still be in the null namespace[1], then I  
agree.

[1]  
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2006-October/007362.html

-- 
Simon Pieters



More information about the whatwg mailing list