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

Lachlan Hunt lachlan.hunt at lachy.id.au
Fri Dec 1 05:33:48 PST 2006

Michel Fortin wrote:
> The spec tells us:
>> If both the xml:lang attribute and the lang attribute are set, user 
>> agents must use the xml:lang attribute, and the lang attribute must be 
>> ignored for the purposes of determining the element's language.
> While the requirement for authors is pretty clear (HTML: lang; XHTML: 
> xml:lang), it seems to me that the user agent is asked to always favour 
> xml:lang even in an HTML context. Is this really what's intended? I 
> think this ought to be clarified.


Lachlan Hunt

More information about the whatwg mailing list