You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
passing <var>active context</var>, <var>index</var>, and <code>true</code>
1996
2021
for <var>document relative</var>, unless <var>expanded index</var>
1997
2022
is already set to <code>@none</code>.</li>
1998
2023
<li>Otherwise, if <var>container mapping</var> includes <code>@type</code>
1999
-
set <var>types</var> to the concatenation of
2000
-
<var>expanded index</var> with any existing values of
2001
-
<code>@type</code> in <var>item</var>.
2024
+
set <var>types</var> to the concatenation of <var>expanded index</var>
2025
+
with any existing values of <code>@type</code> in <var>item</var>.
2002
2026
If <var>expanded index</var> is <code>@none</code>,
2003
2027
do not concatenate <var>expanded index</var> to <var>types</var>.
2004
-
Add the key-value pair
2005
-
(<code>@type</code>-<var>types</var>) to
2006
-
<var>item</var>.</li>
2028
+
Add the key-value pair (<code>@type</code>-<var>types</var>) to <var>item</var>.</li>
2007
2029
<li>Append <var>item</var> to <var>expanded value</var>.</li>
2008
2030
</ol>
2009
2031
</li>
@@ -2757,17 +2779,31 @@ <h3>Algorithm</h3>
2757
2779
either <code>@language</code>, <code>@index</code>, <code>@id</code>, or <code>@type</code>
2758
2780
based on the contents of <var>container</var>, as <var>var</var>, and <code>true</code>
2759
2781
for <var>vocab</var>.</li>
2782
+
<liclass="changed">Set <var>index key</var> to the value of <a>index mapping</a> in
2783
+
the <a>term definition</a> associated with <var>item active property</var> in <var>active context</var>,
2784
+
or <code>@index</code>, if no such value exists.</li>
2760
2785
<li>If <var>container</var> includes <code>@language</code> and
2761
2786
<var>expanded item</var> contains a
2762
2787
<code>@value</code><a>member</a>, then set <var>compacted item</var>
2763
2788
to the value associated with its <code>@value</code><a>member</a>.
2764
2789
Set <var>map key</var> to the value of <code>@language</code> in <var>expanded item</var>, if any.</li>
2765
-
<li>If <var>container</var> includes <code>@index</code> set <var>map key</var> to the value of <code>@index</code> in <var>expanded item</var>, if any,
2790
+
<li>Otherwise, if <var>container</var> includes <code>@index</code>
2791
+
and <var>index key</var> is <code>@index</code>,
2792
+
set <var>map key</var> to the value of <code>@index</code> in <var>expanded item</var>, if any,
2766
2793
and remove <var>container key</var> from <var>compacted item</var>.</li>
2767
-
<liclass="changed">If <var>container</var> includes <code>@id</code>, set
2794
+
<liclass="changed">Otherwise, if <var>container</var> includes <code>@index</code>
2795
+
and <var>index key</var> is not <code>@index</code>,
2796
+
Set <var>map key</var> to the first value of <var>container key</var> in <var>compacted item</var>, if any.
2797
+
If there are remaining values in <var>compacted item</var>
2798
+
for <var>compacted container</var>, set the value of
2799
+
<var>compacted container</var> in <var>compacted value</var>
2800
+
to those remaining values. Otherwise, remove that
2801
+
<a>member</a> from <var>compacted item</var>.
2802
+
</li>
2803
+
<liclass="changed">Otherwise, if <var>container</var> includes <code>@id</code>, set
2768
2804
<var>map key</var> to the value of <var>container key</var> in
2769
2805
<var>compacted item</var> and remove <var>container key</var> from <var>compacted item</var>.</li>
2770
-
<liclass="changed">If<var>container</var> is <code>@type</code>,
2806
+
<liclass="changed">Otherwise, if<var>container</var> is <code>@type</code>,
2771
2807
set <var>map key</var> to the first value of <var>container key</var> in <var>compacted item</var>, if any.
2772
2808
If there are remaining values in <var>compacted item</var>
2773
2809
for <var>compacted container</var>, set the value of
0 commit comments