W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] lang vs. xml:lang; id vs. xml:id

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 1 Dec 2006 16:44:39 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0612011641520.4460@dhalsim.dreamhost.com>
On Fri, 1 Dec 2006, Michel Fortin wrote:
> 
> Okay, so if I understand well, xml:lang in the spec refers to the "lang" 
> attribute in the "xml" namespace, not to the "xml:lang" attribute in the 
> null namespace that you get with the HTML parser. It makes sense from a 
> DOM perspective, but it's misleading from a markup perspective, so I 
> still think it should be clarified.

Could you propose some text?


> And although it's less confusing, I think the same should be clarified 
> about xml:id: it's the "id" attribute in the "xml" namespace, not the 
> "xml:id" attribute in the null namespace that you get with the HTML 
> parser.

I don't see any reason to mention XML ID in the Web Apps spec. It's a 
different spec. We're a big enough spec as it is without explaining all 
the other specs out there, especially those we don't even interact with. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 1 December 2006 08:44:39 UTC

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