Skip to content

Commit d58c6f2

Browse files
committed
Add note to IRI Compaction algorithm on the importance of ordering values of _containers_.
Fixes w3c/json-ld-syntax#75.
1 parent 53fcabc commit d58c6f2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

index.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -3043,9 +3043,13 @@ <h3>Algorithm</h3>
30433043
element from the value of <code>@preserve</code> as <var>value</var>.</li>
30443044
<li>Initialize <var>containers</var> to an empty <a>array</a>. This
30453045
<a>array</a> will be used to keep track of an ordered list of
3046-
preferred <a>container mapping</a>
3047-
for a <a>term</a>, based on what is compatible with
3048-
<var>value</var>.</li>
3046+
preferred <a>container mapping</a> for a <a>term</a>,
3047+
based on what is compatible with <var>value</var>.
3048+
<div class="note">
3049+
Algorithm steps may append the same value to <var>containers</var>,
3050+
but the order in which they are added is significant for choosing the most appropriate term.
3051+
</div>
3052+
</li>
30493053
<li>Initialize <var>type/language</var> to <code>@language</code>,
30503054
and <var>type/language value</var> to <code>@null</code>. These two
30513055
variables will keep track of the preferred

0 commit comments

Comments
 (0)