- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Sun, 17 Apr 2005 20:34:53 +1000
Ian Hickson wrote: > On Sun, 17 Apr 2005, Lachlan Hunt wrote: >>It should be stated that lang is for HTML only and xml:lang is >>for X(HT)ML only. > > Done. Thank you, but now there's just one more issue. # 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. Is that the case for both HTML and XHTML documents? It would make more sense if, in the case of both being set, lang was used for text/html documents and xml:lang for XML documents. However, in the case of only one being set but for the wrong MIME type (eg. xml:lang set for text/html document or lang for XML document), for error recovery, should UAs be allowed to fallback on it? -- Lachlan Hunt http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web http://GetThunderbird.com/ Reclaim your Inbox
Received on Sunday, 17 April 2005 03:34:53 UTC