Update set/list grammar definition to include the specific allowed values. For sets, this includes sets of sets and sets of lists.
--- a/spec/latest/json-ld-syntax/index.html Sat Aug 18 14:40:30 2012 -0400
+++ b/spec/latest/json-ld-syntax/index.html Sat Aug 18 12:04:46 2012 -0700
@@ -2727,18 +2727,28 @@
<section id="grammar-set-list">
<h2>List and Set Values</h2>
-<p class="issue">This definition for lists and sets don't seem to support
-arrays of strings or numbers... or arrays of IRIs. The subject definition
-grammar doesn't seem to support these values.</p>
-
<p>A <tdef>list</tdef> is a <tref>JSON object</tref> having only the <code>@list</code>
- <tref>keyword</tref>. Its value MUST be an <tref>array</tref> of any value type
- as defined in <a href="#grammar-subject-definition"></a>.</p>
+ <tref>keyword</tref>. Its value MUST be an <tref>array</tref> any of the following:</p>
+<ul>
+ <li><tref>string</tref>,</li>
+ <li><tref>subject reference</tref>,</li>
+ <li><tref>subject definition</tref>,</li>
+ <li><tref>typed value</tref>, or</li>
+ <li><tref>language value</tref>.</li>
+</ul>
<p>A <tdef>set</tdef> is a <tref>JSON object</tref> having only the <code>@set</code>
- <tref>keyword</tref>. Its value MUST be an <tref>array</tref> of any value type
- as defined in <a href="#grammar-subject-definition"></a>.</p>
-<p>See <a href="#sets-and-lists"></a>
- for a further discussion of List and Set Values.</p>
+ <tref>keyword</tref>. Its value MUST be an <tref>array</tref> of any of the following:</p>
+<ul>
+ <li><tref>string</tref>,</li>
+ <li><tref>subject reference</tref>,</li>
+ <li><tref>subject definition</tref>,</li>
+ <li><tref>typed value</tref>,</li>
+ <li><tref>language value</tref>,</li>
+ <li><code>@set</code> or <code>@list</code>
+ definition (see <a href="#sets-and-lists"></a>), or</li>
+ <li>an <tref>array</tref> zero or more of these.</li>
+</ul>
+<p>See <a href="#sets-and-lists"></a> for a further discussion of List and Set Values.</p>
</section>
<section id="grammar-context">