[whatwg] lang versus xml:lang

On Mon, 5 Mar 2007, Anne van Kesteren wrote:
> 
> 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...
> 
> (And user agents have to support and support this stuff already too.)

On Mon, 5 Mar 2007, Simon Pieters wrote:
> 
> If lang="" in text/html will still be in the null namespace, then I 
> agree.

I hesitate to do this for the same reason we don't have <base href> in 
HTML -- it is stomping on XML-native mechanisms for the same thing. I'd 
rather not have people who use XHTML stomping all over the XML-native 
solutions; it sets a bad precedent and defeats many of the advantages of 
XML in the first place.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 30 October 2007 14:16:55 UTC