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

Ian Hickson ian at hixie.ch
Fri Dec 1 08:44:39 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list