spec/Overview.html 1.1235 2056 How to determine the language of the nod

How to determine the language of the node if the language code isn't
recognised. (Subject: Effect of bogus lang on determining natural
language) (credit: hs) (whatwg r2056)

language
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1235.html#language

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1234&r2=1.1235&f=h
http://html5.org/tools/web-apps-tracker?from=2055&to=2056

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1234
retrieving revision 1.1235
diff -u -d -r1.1234 -r1.1235
--- Overview.html 12 Aug 2008 09:04:24 -0000 1.1234
+++ Overview.html 12 Aug 2008 09:32:34 -0000 1.1235
@@ -7980,7 +7980,9 @@
    href="#xmllang">xml:lang</a></code> attribute set or is an <a
    href="#html-elements" title="HTML elements">HTML element</a> and has a
    <code title=attr-lang><a href="#lang">lang</a></code> attribute set. That
-   attribute specifies the language of the node.
+   attribute specifies the language of the node. If that attribute's value is
+   not a recognised language code, then it must be treated as an unknown
+   language (as if the value was the empty string).
 
   <p>If both the <code title=attr-xml-lang><a
    href="#xmllang">xml:lang</a></code> attribute and the <code

Received on Tuesday, 12 August 2008 09:49:54 UTC