W3C home > Mailing lists > Public > www-html@w3.org > September 2009

Re: XHTML 1.1 spec: lang and xml:lang (PR#10217)

From: Shane McCarron <voyager-issues@mn.aptest.com>
Date: Wed, 16 Sep 2009 09:02:42 -0500
Message-Id: <200909161402.n8GE2giO010358@htmlwg.mn.aptest.com>
To: kwutzke@web.de
CC: www-html@w3.org
Thanks for your comment.

@lang is not deprecated, and no, it does not need to be included in the module
in XHTML M12N.  We have chosen to incorporate it into XHTML 1.1 because several
groups have demonstrated a need for it.  The rules specified describe the
relationship between @lang and @xml:lang.

> Hello,
> 
> I've looked at the latest XHTML spec from 2009-05-07. Referring to
> 
> http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_com...
> 
> In the I18N module, there are only two attributes listed: dir and xml:lang.
The
> note in the last paragraph says: "Finally, note that the I18N collection only
> contains the xml:lang attribute unless the Bi- directional Text Module module
is
> selected." This is fine, but...
> 
> http://www.w3.org/TR/xhtml11/doctype.html
> 
> says (last paragraph):
> 
> "This specification also adds the lang attribute to the I18N attribute
> collection as defined in [XHTMLMOD]. The lang attribute is defined in
> [HTML4]. When this attribute and the xml:lang are specified on the
> same element, the xml:lang takes precedence. When both lang and
> xml:lang are specified on the same element, they SHOULD have the same
> value."
> 
> Is the 'lang' attribute deprecated? If it is not, it should be in the
> I18N module as well. If it *is* deprecated,
> 
> http://www.w3.org/TR/xhtml11/doctype.html
> 
> is basically wrong, isn't it?
> 
> What's the status on lang now?
> 
> Karsten
> 
> 
> 
Received on Wednesday, 16 September 2009 14:04:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:16 GMT