Skip to content

Commit 527faba

Browse files
committed
Improve wording in Expansion on type-maps.
For #264.
1 parent fe10eba commit 527faba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2889,10 +2889,10 @@ <h3>Algorithm</h3>
28892889
passing <var>active context</var>, <var>index</var>, and <code>true</code>
28902890
for <var>document relative</var>.</li>
28912891
<li>Otherwise, if <var>container mapping</var> includes <code>@type</code>
2892-
initialize <var>types</var> to the concatenation of <var>expanded index</var>
2893-
with any existing values of <code>@type</code> in <var>item</var>.
2894-
If <var>expanded index</var> is <code>@none</code>,
2895-
do not concatenate <var>expanded index</var> to <var>types</var>.
2892+
and <var>expanded index</var> is not <code>@none</code>,
2893+
initialize <var>types</var> to a new <a>array</a>
2894+
consisting of <var>expanded index</var> followed by any existing
2895+
values of <code>@type</code> in <var>item</var>.
28962896
Add the key-value pair (<code>@type</code>-<var>types</var>) to <var>item</var>.</li>
28972897
<li>Append <var>item</var> to <var>expanded value</var>.</li>
28982898
</ol>
@@ -4680,7 +4680,7 @@ <h3>Algorithm</h3>
46804680
<var>node map</var>, and <var>id</var> for <var>active graph</var> before removing
46814681
the <code>@graph</code> <a>entry</a> from <var>element</var>.</li>
46824682
<li class="changed">If <var>element</var> has an `@included` <a>entry</a>,
4683-
recursively invoke this algorithm passing the value of the `@included <a>entry</a> for <var>element</var>,
4683+
recursively invoke this algorithm passing the value of the `@included` <a>entry</a> for <var>element</var>,
46844684
<var>node map</var>, and <var>active graph</var>
46854685
before removing the `@included` <a>entry</a> from <var>element</var>.</li>
46864686
<li>Finally, for each key-value pair <var>property</var>-<var>value</var> in <var>element</var> ordered by

0 commit comments

Comments
 (0)