[html5] r3698 - [e] (0) Clarify xml:lang nonsense.

whatwg at whatwg.org whatwg at whatwg.org
Sat Aug 29 15:21:37 PDT 2009


Author: ianh
Date: 2009-08-29 15:21:35 -0700 (Sat, 29 Aug 2009)
New Revision: 3698

Modified:
   index
   source
Log:
[e] (0) Clarify xml:lang nonsense.

Modified: index
===================================================================
--- index	2009-08-29 22:14:22 UTC (rev 3697)
+++ index	2009-08-29 22:21:35 UTC (rev 3698)
@@ -7821,6 +7821,10 @@
   must have the same value when compared in an <a href=#ascii-case-insensitive>ASCII
   case-insensitive</a> manner.</p>
 
+  <p class=note>The attribute in no namespace with no prefix and
+  with the literal localname "<code title="">xml:lang</code>" has no
+  effect on language processing.</p>
+
   <div class=impl>
 
   <hr><p>To determine the language of a node, user agents must look at the
@@ -7838,9 +7842,10 @@
   <a href=#ignore title=ignore>ignored</a> for the purposes of determining
   the element's language.</p>
 
-  <p>If no explicit language is given for the <a href=#root-element>root
-  element</a>, but there is a <a href=#document-wide-default-language>document-wide default
-  language</a> set, then that is the language of the node.</p>
+  <p>If no explicit language is given for any ancestors of the node,
+  including the <a href=#root-element>root element</a>, but there is a
+  <a href=#document-wide-default-language>document-wide default language</a> set, then that is the
+  language of the node.</p>
 
   <p>If there is no <a href=#document-wide-default-language>document-wide default language</a>, then
   language information from a higher-level protocol (such as HTTP), if

Modified: source
===================================================================
--- source	2009-08-29 22:14:22 UTC (rev 3697)
+++ source	2009-08-29 22:21:35 UTC (rev 3698)
@@ -7951,6 +7951,10 @@
   must have the same value when compared in an <span>ASCII
   case-insensitive</span> manner.</p>
 
+  <p class="note">The attribute in no namespace with no prefix and
+  with the literal localname "<code title="">xml:lang</code>" has no
+  effect on language processing.</p>
+
   <div class="impl">
 
   <hr>
@@ -7974,9 +7978,10 @@
   <span title="ignore">ignored</span> for the purposes of determining
   the element's language.</p>
 
-  <p>If no explicit language is given for the <span>root
-  element</span>, but there is a <span>document-wide default
-  language</span> set, then that is the language of the node.</p>
+  <p>If no explicit language is given for any ancestors of the node,
+  including the <span>root element</span>, but there is a
+  <span>document-wide default language</span> set, then that is the
+  language of the node.</p>
 
   <p>If there is no <span>document-wide default language</span>, then
   language information from a higher-level protocol (such as HTTP), if




More information about the Commit-Watchers mailing list