Clarify step in language map compaction to associate a new map object with item active property in result.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Thu, 09 May 2013 15:05:03 -0700
changeset 1657 6d0052bc331e
parent 1656 ba684abbd362
child 1658 069e790b5f34
Clarify step in language map compaction to associate a new map object with item active property in result.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Thu May 09 14:23:19 2013 -0700
+++ b/spec/latest/json-ld-api/index.html	Thu May 09 15:05:03 2013 -0700
@@ -2099,10 +2099,10 @@
                   If <i>container</i> is <code>@language</code> or
                   <code>@index</code>:
                   <ol class="algorithm">
-                    <li>If <i>item active property</i> is a key in
-                      <i>result</i>, then initialize <i>map object</i> to
-                      its associated value, otherwise initialize it to an empty
-                      <tref>JSON object</tref>.</li>
+                    <li>If <i>item active property</i> is not a key in
+                      <i>result</i>, initialize it to an empty <tref>JSON object</tref>.
+                      Initialize <i>map object</i> to the value of <i>item active property</i>
+                      in <i>result</i>.</li>
                     <li>If <i>container</i> is <code>@language</code> and
                       <i>compacted item</i> contains the key
                       <code>@value</code>, then set <i>compacted item</i>