Compact free-floating lists as in compact-0051
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 12 Feb 2013 15:32:34 +0100
changeset 1228 db658c567153
parent 1227 94d24e9dd299
child 1229 cb2c96483876
Compact free-floating lists as in compact-0051

See discussion at https://github.com/json-ld/json-ld.org/commit/614f69b8de0f9b9709cdd599c86632d3844b685e#commitcomment-2606111.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Tue Feb 12 12:14:34 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Tue Feb 12 15:32:34 2013 +0100
@@ -1316,7 +1316,7 @@
               <a href="#iri-compaction-algorithm">IRI Compaction algorithm</a> with the
               <em>vocabRelative</em> flag set to <code>true</code>. If <em>value</em> is an
               <tref>array</tref> consisting of just one item, replace <em>value</em> with that item.</li>
-            <li>Otherwise, if <em>property</em> equals <code>@graph</code>, compact <em>value</em>
+            <li>Otherwise, if <em>property</em> equals <code>@graph</code> or <code>@list</code>, compact <em>value</em>
               by recursively invoking this algorithm, passing a copy of the <tref>active context</tref>,
               <tref>inverse context</tref>, and <em>property</em> as <tref>active property</tref>
               ensuring that the result is an <tref>array</tref>.</li>