Skip to content

Commit 81ccb0b

Browse files
committed
Added additional language to the Compaction Algorithm step 12.8.9.6.1 to first expand container key before compacting it.
Fixes #514.
1 parent c9c73f8 commit 81ccb0b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3861,8 +3861,8 @@ <h3>Algorithm</h3>
38613861
<li id="alg-compact-12_8_9_6" class="changed">Otherwise, if <var>container</var> includes <code>@index</code>
38623862
and <var>index key</var> is not <code>@index</code>:
38633863
<ol>
3864-
<li>Reinitialize <var>container key</var> by <a>IRI compacting</a>
3865-
<var>index key</var>.</li>
3864+
<li id="alg-compact-12_8_9_6_1">Reinitialize <var>container key</var> by <a>IRI compacting</a>
3865+
<var>index key</var> after first <a>IRI expanding</a> it.</li>
38663866
<li>Set <var>map key</var> to the first value of <var>container key</var> in <var>compacted item</var>, if any.</li>
38673867
<li id="alg-compact-12_8_9_6_3">If there are remaining values in <var>compacted item</var>
38683868
for <var>container key</var>, use <a>add value</a> to
@@ -7105,6 +7105,10 @@ <h2>Changes since Recommendation of 16 July 2020</h2>
71057105
<li>Changed obsolete use of `void` in WebIDL to `undefined`.</li>
71067106
<li>Added some clarifications to the algorithm of <a href="#node-map-generation"></a>.</li>
71077107
<li>Added some clarifications to the algorithm of <a href="#iri-compaction"></a>.</li>
7108+
<li>Added additional language to the
7109+
<a href="#compaction-algorithm">Compaction Algorithm</a>
7110+
step <a href="#alg-compact-12_8_9_6_1 ">12.8.9.6.1</a> to first expand
7111+
<var>container key</var> before compacting it.</li>
71087112
</ul>
71097113
</section>
71107114
<section id="ack"

0 commit comments

Comments
 (0)