Updated prose for finding the language of a literal based on feedback from Kanzaki Masahide.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Wed, 19 Sep 2012 14:20:30 -0700
changeset 140 1a7cddb6bde2
parent 139 bad9c8c009ee
child 141 8d1da7f9c601
Updated prose for finding the language of a literal based on feedback from Kanzaki Masahide.
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Wed Sep 12 11:23:26 2012 +0200
+++ b/microdata-rdf/index.html	Wed Sep 19 14:20:30 2012 -0700
@@ -1072,8 +1072,8 @@
               </dd>
               <dt>Otherwise</dt>
               <dd>
-                The value is a <a>plain literal</a> created from the value with language information set from the <cite><a
-                href="http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-lang-and-xml:lang-attributes">lang</a></cite> IDL attribute
+                The value is a <a>plain literal</a> created from the value with language information set from the
+                <cite><a href="http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#language">language</a></cite>
                 of the property element.
                 <p class="note">The HTML
                   <em>valid yearless date string</em>
@@ -1089,11 +1089,13 @@
               in [[!HTML5]].</p>
           </dd>
           <dt>Otherwise</dt>
-          <dd>The value is a <a>plain literal</a> created from <code><cite>
-            <a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-itemvalue">element.itemValue</a></cite></code>
-            with language information set from the
-            <cite><a href="http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-lang-and-xml:lang-attributes">lang</a></cite>
-            IDL attribute of the property element.
+          <dd>The value is a <a>plain literal</a> created from the value with language information set from the
+            <cite><a href="http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#language">language</a></cite> of the property element.
+            <p>See
+              <cite><a href="http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-lang-and-xml:lang-attributes">
+                The <code>lang</code> and <code>xml:lang</code> attributes
+              </a></cite>
+              in [[!HTML5]] for determining the language of a node.</p>
           </dd>
         </dl>
       </dd>