Check for @index key before allowing usage of @language map.
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 18 Feb 2013 10:19:35 -0500
changeset 1300 6cbbbe3b892b
parent 1299 ff8ffa55b5e3
child 1301 16d7a4bc1309
Check for @index key before allowing usage of @language map.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Mon Feb 18 15:47:09 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Mon Feb 18 10:19:35 2013 -0500
@@ -2843,7 +2843,8 @@
             If <em>value</em> contains the key <code>@value</code>:
             <ol class="algorithm">
               <li>
-                If <em>value</em> contains the key <code>@language</code>,
+                If <em>value</em> contains the key <code>@language</code>
+                and does not contain the key <code>@index</code>,
                 then set <em>typeOrLanguageValue</em> to its associated
                 value and append <code>@language</code> to
                 <em>containers</em>.