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>
2009
2034
for <var>document relative</var>, unless <var>expanded index</var>
2010
2035
is already set to <code>@none</code>.</li>
2011
2036
<li>Otherwise, if <var>container mapping</var> includes <code>@type</code>
2012
-
set <var>types</var> to the concatenation of
2013
-
<var>expanded index</var> with any existing values of
2014
-
<code>@type</code> in <var>item</var>.
2037
+
set <var>types</var> to the concatenation of <var>expanded index</var>
2038
+
with any existing values of <code>@type</code> in <var>item</var>.
2015
2039
If <var>expanded index</var> is <code>@none</code>,
2016
2040
do not concatenate <var>expanded index</var> to <var>types</var>.
2017
-
Add the key-value pair
2018
-
(<code>@type</code>-<var>types</var>) to
2019
-
<var>item</var>.</li>
2041
+
Add the key-value pair (<code>@type</code>-<var>types</var>) to <var>item</var>.</li>
2020
2042
<li>Append <var>item</var> to <var>expanded value</var>.</li>
2021
2043
</ol>
2022
2044
</li>
@@ -2776,17 +2798,31 @@ <h3>Algorithm</h3>
2776
2798
either <code>@language</code>, <code>@index</code>, <code>@id</code>, or <code>@type</code>
2777
2799
based on the contents of <var>container</var>, as <var>var</var>, and <code>true</code>
2778
2800
for <var>vocab</var>.</li>
2801
+
<liclass="changed">Set <var>index key</var> to the value of <a>index mapping</a> in
2802
+
the <a>term definition</a> associated with <var>item active property</var> in <var>active context</var>,
2803
+
or <code>@index</code>, if no such value exists.</li>
2779
2804
<li>If <var>container</var> includes <code>@language</code> and
2780
2805
<var>expanded item</var> contains a
2781
2806
<code>@value</code><a>member</a>, then set <var>compacted item</var>
2782
2807
to the value associated with its <code>@value</code><a>member</a>.
2783
2808
Set <var>map key</var> to the value of <code>@language</code> in <var>expanded item</var>, if any.</li>
2784
-
<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,
2809
+
<li>Otherwise, if <var>container</var> includes <code>@index</code>
2810
+
and <var>index key</var> is <code>@index</code>,
2811
+
set <var>map key</var> to the value of <code>@index</code> in <var>expanded item</var>, if any,
2785
2812
and remove <var>container key</var> from <var>compacted item</var>.</li>
2786
-
<liclass="changed">If <var>container</var> includes <code>@id</code>, set
2813
+
<liclass="changed">Otherwise, if <var>container</var> includes <code>@index</code>
2814
+
and <var>index key</var> is not <code>@index</code>,
2815
+
Set <var>map key</var> to the first value of <var>container key</var> in <var>compacted item</var>, if any.
2816
+
If there are remaining values in <var>compacted item</var>
2817
+
for <var>compacted container</var>, set the value of
2818
+
<var>compacted container</var> in <var>compacted value</var>
2819
+
to those remaining values. Otherwise, remove that
2820
+
<a>member</a> from <var>compacted item</var>.
2821
+
</li>
2822
+
<liclass="changed">Otherwise, if <var>container</var> includes <code>@id</code>, set
2787
2823
<var>map key</var> to the value of <var>container key</var> in
2788
2824
<var>compacted item</var> and remove <var>container key</var> from <var>compacted item</var>.</li>
2789
-
<liclass="changed">If<var>container</var> is <code>@type</code>,
2825
+
<liclass="changed">Otherwise, if<var>container</var> is <code>@type</code>,
2790
2826
set <var>map key</var> to the first value of <var>container key</var> in <var>compacted item</var>, if any.
2791
2827
If there are remaining values in <var>compacted item</var>
2792
2828
for <var>compacted container</var>, set the value of
0 commit comments