[whatwg] lang versus xml:lang

Anne van Kesteren annevk at opera.com
Sun Mar 4 15:17:56 PST 2007


On Fri, 02 Mar 2007 20:25:51 +0100, Keryx Web <webmaster at keryx.se> wrote:
> And today the base element already works in at least FFox and Opera also  
> when content is sent as true XHTML 1.0, so this would not really change  
> anything but the spec.

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...

(And user agents have to support and support this stuff already too.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list