Skip to content

Commit 063f632

Browse files
committed
Fix step 5.5.1.2 in the framing algorithm to only recurse if the data is coming from something other than the merge or default graphs, not based only the current graph state.
Fixes #502.
1 parent b0d94c9 commit 063f632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,8 @@ <h3>Framing Algorithm</h3>
938938
and set <em>subframe</em> to a new empty <a>dictionary</a>.</li>
939939
<li>Otherwise, set <em>subframe</em> to the first entry for <code>@graph</code> in <em>frame</em>,
940940
or a new empty <a>dictionary</a>, if it does not exist, and
941-
set <em>recurse</em> to <code>true</code>, unless <em>graph name</em>
942-
in <em>state</em> is <code>@merged</code> or <code>@default</code>.</li>
941+
set <em>recurse</em> to <code>true</code>, unless <em>id</em>
942+
is <code>@merged</code> or <code>@default</code>.</li>
943943
<li>If <em>recurse</em> is <code>true</code>:
944944
<ol class="algorithm">
945945
<li>Push <em>graph name</em> from <em>state</em> onto <em>graph stack</em>

0 commit comments

Comments
 (0)