Skip to content

Commit 33e738f

Browse files
committed
Update expansion step 14 to recursively repeat both steps 13 and 14.
1 parent 767e237 commit 33e738f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,7 @@ <h3>Algorithm</h3>
29602960
</li>
29612961
</ol>
29622962
</li>
2963-
<li id="expansion-resolve-nest" class="changed">For each key <var>nesting-key</var> in <var>nests</var>
2963+
<li id="alg-expand-resolve-nest" class="changed">For each key <var>nesting-key</var> in <var>nests</var>
29642964
<ol>
29652965
<li>Initialize <var>nested values</var> to the value of <var>nesting-key</var>
29662966
in <var>element</var>, ensuring that it is an <a>array</a>.</li>
@@ -2970,7 +2970,8 @@ <h3>Algorithm</h3>
29702970
<var>nested value</var> expands to <code>@value</code>, an
29712971
<a data-link-for="JsonLdErrorCode">invalid @nest value</a> error
29722972
has been detected and processing is aborted.</li>
2973-
<li>Recursively repeat <a href="#alg-expand-each-key-value">step 13</a>
2973+
<li>Recursively repeat steps <a href="#alg-expand-each-key-value">13</a>
2974+
and <a href="#alg-expand-resolve-nest">14</a>
29742975
using <var>nested value</var> for <var>element</var>.</li>
29752976
</ol>
29762977
</li>
@@ -6938,7 +6939,7 @@ <h2>Changes since Candidate Release of 12 December 2019</h2>
69386939
<li>Added missing keywords to step <a href="#ctd-invalid-entries">28</a> of the
69396940
<a href="#create-term-definition">Create Term Definition algorithm</a>.
69406941
This is in response to <a href="https://github.com/w3c/json-ld-api/issues/261">Issue 261</a>.</li>
6941-
<li>Move step 13.15 of the expansion algorithm up one level to step <a href="#expansion-resolve-nest">14</a> of the
6942+
<li>Move step 13.15 of the expansion algorithm up one level to step <a href="#alg-expand-resolve-nest">14</a> of the
69426943
<a href="#expansion-algorithm">Expansion algorithm</a>,
69436944
as it had accidentally been set to run for every entry in the object, rather than
69446945
after all entries had been expanded.

0 commit comments

Comments
 (0)