W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] [WA1] lang and xml:lang

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 17 Apr 2005 16:00:21 +1000
Message-ID: <4261FB75.6000702@lachy.id.au>
Hi,
Web apps currently states [1]:
# Authors should not use the lang attribute in XML documents. Authors
# should instead use the xml:lang attribute.

Is there any reason for not making that "must not"?  The only reason 
someone would ever have for using lang instead of xml:lang in XHTML is 
when serving it as text/html, which is strictly forbidden in this 
version.  It should be stated that lang is for HTML only and xml:lang is 
for X(HT)ML only.

I think the heading for the attribute defintion should be updated to 
include xml:lang as well.

[1] http://www.whatwg.org/specs/web-apps/current-work/#lang

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Saturday, 16 April 2005 23:00:21 UTC

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