Fix node object grammar
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Fri, 04 Jan 2013 18:35:41 +0100
changeset 1104 dd35d2a81baa
parent 1103 fd9471d5f12e
child 1105 8663aa7b54eb
Fix node object grammar

This addresses #114
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Fri Dec 28 18:48:31 2012 +0100
+++ b/spec/latest/json-ld-syntax/index.html	Fri Jan 04 18:35:41 2013 +0100
@@ -2753,8 +2753,9 @@
 <ul>
   <li>it does not contain the <code>@value</code>, <code>@list</code>,
     or <code>@set</code> keywords, and</li>
-  <li>it does not contain the <code>@graph</code> keyword and is
-    the top-most <tref>JSON object</tref> in the JSON-LD document.
+  <li>it is not the top-most <tref>JSON object</tref> in the JSON-LD document
+    consisting of no other members than <code>@graph</code> and
+    <code>@context</code>.
 </ul>
 
 <p>The <tref title="property">properties</tref> of a <tref>node</tref> in
@@ -2797,9 +2798,8 @@
   <code>@id</code> values.</p>
 
 <p>If the <tref>node object</tref> contains the <code>@type</code>
-  key, its value MUST be either
-  an <tref>absolute IRI</tref>,
-  a <tref>compact IRI</tref> (excluding <tref title="blank node identifier">blank node identifier</tref>),
+  key, its value MUST be either an <tref>IRI</tref>, a <tref>compact IRI</tref>
+  (including <tref title="blank node identifier">blank node identifiers</tref>),
   a <tref>term</tref> defined in the <tref>active context</tref> expanding into an <tref>absolute IRI</tref>, or
   an <tref>array</tref> of any of these.
   See <a href="#specifying-the-type"></a> for further discussion on