W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] lang versus xml:lang

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 30 Oct 2007 21:16:55 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0710302114080.15478@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC