Ensure value is a string when expanding where property is @graph.
authorDave Longley <dlongley@digitalbazaar.com>
Thu, 14 Feb 2013 12:27:00 -0500
changeset 1254 7d3aa566f5a0
parent 1253 5dd4cc61f626
child 1255 84ef2be6a0b8
Ensure value is a string when expanding where property is @graph.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Thu Feb 14 18:09:32 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Thu Feb 14 12:27:00 2013 -0500
@@ -2128,10 +2128,10 @@
   <li>
     If <tref>active property</tref> has a <tref>type mapping</tref> in
     <tref>active context</tref> that is <code>@id</code> or if
-    <em>expanded property</em> equals <code>@graph</code>, then return
-    a new <tref>JSON object</tref> containing a single key-value pair
-    where the key is <code>@id</code> and the value is the result of
-    using the
+    <em>expanded property</em> equals <code>@graph</code> and <em>value</em>
+    is a <tref>string</tref>, then return a new <tref>JSON object</tref>
+    containing a single key-value pair where the key is <code>@id</code> and
+    the value is the result of using the
     <a href="#iri-expansion">IRI Expansion</a> algorithm, passing
     <tref>active context</tref>, <em>value</em>, and <tref>true</tref> for
     <em>documentRelative</em>.