Skip to content

Commit 8c546b9

Browse files
committed
Only invoke language map expansion if the value is a JSON object.
1 parent ecae41d commit 8c546b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/latest/json-ld-api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ <h3>Expansion Algorithm</h3>
10971097
If <em>property</em> is <code>@list</code> and any entry in <em>value</em> is a
10981098
<tref>JSON object</tref> containing an <code>@list</code> property, return an error, as
10991099
lists of lists are not supported.</li>
1100-
<li>Otherwise, if the <em>property</em> is not a keyword and its associated <tref>term</tref> entry in
1100+
<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
11011101
the <tref>active context</tref> has a <code>@container</code> key associated with a value of <code>@language</code>,
11021102
process the associated <em>value</em> as a <em>language map</em>:
11031103
<ol class="algorithm">

0 commit comments

Comments
 (0)