Ensure value is a string when expanding where property is @graph.
--- 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>.