Make sure the result of expansion is always an array at the top-level
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 09 Apr 2012 19:05:49 +0800
changeset 474 86b9e7034ff1
parent 473 ebd3ce22e39a
child 475 f024b8ab9163
Make sure the result of expansion is always an array at the top-level
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Sun Apr 08 14:50:46 2012 +0800
+++ b/spec/latest/json-ld-api/index.html	Mon Apr 09 19:05:49 2012 +0800
@@ -1176,7 +1176,7 @@
 <p>The algorithm takes three input variables: an <tref>active context</tref>, an <tref>active property</tref>,
   and an <em>element</em> to be expanded. To begin, the <tref>active context</tref> is set to the <tref>initial
   context</tref>, <tref>active property</tref> is set to <tref>null</tref>, and <em>element</em> is set to the <tref>JSON-LD
-  input</tref>.</p>
+  input</tref>. If the <tref>JSON-LD input</tref> is not in the form of an <tref>array</tref> it is wrapped in an array.</p>
 
 <ol class="algorithm">
   <li>If <em>element</em> is an <tref>array</tref>, process each entry in <em>element</em> recursively