HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2091[Authors] [Conformance Checkers] Allow xml:lang='' and lang='' to differ in case only.2008-08-21 01:45
@@ -5861,34 +5861,36 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
   any <span title="HTML elements">HTML element</span>.</p>
 
   <p>The <code title="attr-xml-lang">xml:lang</code> attribute may be
   used on <span>HTML elements</span> in <span>XML documents</span>, as
   well as elements in other namespaces if the relevant specifications
   allow it (in particular, MathML and SVG allow <code
   title="attr-xml-lang">xml:lang</code> attributes to be specified on
   their elements). If both the <code title="attr-lang">lang</code>
   attribute and the <code title="attr-xml-lang">xml:lang</code>
   attribute are specified on the same element, they must have exactly
-  the same value.</p>
+  the same value when compared in an <span>ASCII
+  case-insensitive</span> manner.</p>
 
   <p>Authors must not use the <code
   title="attr-xml-lang">xml:lang</code> attribute (that is, the <code
   title="">lang</code> attribute with the <code title="">xml</code>
   prefix in the <code
   title="">http://www.w3.org/XML/1998/namespace</code> namespace) in
   <span>HTML documents</span>. To ease migration to and from XHTML,
   authors may specify an attribute in no namespace with no prefix and
   with the localname <code title="">xml:lang</code> on <span>HTML
   elements</span> in <span>HTML documents</span>, but such attributes
   must only be specified if a <code title="attr-lang">lang</code>
   attribute is also specified, and both attributes must have the same
-  value.</p>
+  value when compared in an <span>ASCII case-insensitive</span>
+  manner.</p>
 
   <hr>
 
   <p>To determine the language of a node, user agents must look at the
   nearest ancestor element (including the element itself if the node
   is an element) that has an <code
   title="attr-xml-lang">xml:lang</code> attribute set or is an <span
   title="HTML elements">HTML element</span> and has a <code
   title="attr-lang">lang</code> attribute set. That attribute
   specifies the language of the node.</p>

|