W3C home > Mailing lists > Public > public-i18n-its-ig@w3.org > April 2009

xml:lang is now allowed in HTML5

From: Najib Tounsi <ntounsi@emi.ac.ma>
Date: Fri, 24 Apr 2009 11:08:12 +0000
Message-ID: <49F19D9C.4030309@emi.ac.ma>
To: public-i18n-its-ig@w3.org
Dear all,

In the just issued "HTML 5 differences from HTML 4" Working Draft
http://www.w3.org/TR/2009/WD-html5-diff-20090423/#open-issues
it is mentionned:

2.4 Miscellaneous

There are a few other syntax changes worthy of mentioning:
    * HTML now has native support for IRIs, though they can only be
      fully used if the document encoding is UTF-8 or UTF-16.
    * The lang attribute takes the empty string in addition to a valid
      language identifier, just like xml:lang does in XML.

5.2 Changes from 10 June 2008 to 12 February 2009

xml:lang is now allowed in HTML when lang is also specified and they 
have the same value. In XML lang is allowed if xml:lang is also 
specified and they have the same value.


Regards,

Najib

--
Najib TOUNSI (mailto:tounsi @ w3.org)
W3C Office Morocco (http://www.w3c.org.ma/)
cole Mohammadia d'Ingénieurs, BP 765 Agdal-RABAT Maroc (Morocco)
Phone : +212 (0) 537 68 71 50 (P1711)  Fax : +212 (0) 537 77 88 53
Mobile: +212 (0) 661 22 00 30 
Received on Friday, 24 April 2009 11:03:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:00 GMT