Only invoke language map expansion if the value is a JSON object.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Mon, 10 Dec 2012 18:15:05 -0800
changeset 1019 f6d6980c714d
parent 1018 7d551722c894
child 1020 5556fb193f4a
Only invoke language map expansion if the value is a JSON object.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Mon Dec 10 20:44:35 2012 +0100
+++ b/spec/latest/json-ld-api/index.html	Mon Dec 10 18:15:05 2012 -0800
@@ -1097,7 +1097,7 @@
             If <em>property</em> is <code>@list</code> and any entry in <em>value</em> is a
             <tref>JSON object</tref> containing an <code>@list</code> property, return an error, as
             lists of lists are not supported.</li>
-          <li>Otherwise, if the <em>property</em> is not a keyword and its associated <tref>term</tref> entry in
+          <li>Otherwise, if <em>value</em> is a <tref>JSON object</tref> and <em>property</em> is not a keyword and its associated <tref>term</tref> entry in
           the <tref>active context</tref> has a <code>@container</code> key associated with a value of <code>@language</code>,
           process the associated <em>value</em> as a <em>language map</em>:
             <ol class="algorithm">