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

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 02 Dec 2006 00:33:48 +1100
Message-ID: <45702F3C.7010605@lachy.id.au>
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.

http://listserver.dreamhost.com/pipermail/whatwg-whatwg.org/2005-April/003652.html

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Friday, 1 December 2006 05:33:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:50 UTC