Skip to content

Commit a0dd7a8

Browse files
committed
Fix double use of _node_ variable in the Node Map Generation algorithm, as _node_ referred to two different things and was inaccurate when used for adding property values to the active subject node.
1 parent 25c3828 commit a0dd7a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3468,7 +3468,7 @@ <h3>Algorithm</h3>
34683468
member of <var>node map</var> using the variable <var>graph</var>. If the
34693469
<var>active subject</var> is <code>null</code>, set <var>node</var> to <code>null</code>
34703470
otherwise reference the <var>active subject</var> member of <var>graph</var> using the
3471-
variable <var>node</var>.</li>
3471+
variable <var>subject node</var>.</li>
34723472
<li>If <var>element</var> has an <code>@type</code> member, perform for each
34733473
<var>item</var> the following steps:
34743474
<ol>
@@ -3481,12 +3481,12 @@ <h3>Algorithm</h3>
34813481
<ol>
34823482
<li>If <var>list</var> is <code>null</code>:
34833483
<ol>
3484-
<li>If <var>node</var> does not have an <var>active property</var> member,
3484+
<li>If <var>subject node</var> does not have an <var>active property</var> member,
34853485
create one and initialize its value to an <a>array</a>
34863486
containing <var>element</var>.</li>
34873487
<li>Otherwise, compare <var>element</var> against every item in the
34883488
<a>array</a> associated with the <var>active property</var>
3489-
member of <var>node</var>. If there is no item equivalent to <var>element</var>,
3489+
member of <var>subject node</var>. If there is no item equivalent to <var>element</var>,
34903490
append <var>element</var> to the <a>array</a>. Two
34913491
<a class="changed">dictionaries</a> are considered
34923492
equal if they have equivalent key-value pairs.</li>
@@ -3505,7 +3505,7 @@ <h3>Algorithm</h3>
35053505
<var>active subject</var>, <var>active property</var>, and
35063506
<var>result</var> for <var>list</var>.</li>
35073507
<li>Append <var>result</var> to the value of the <var>active property</var> member
3508-
of <var>node</var>.</li>
3508+
of <var>subject node</var>.</li>
35093509
</ol>
35103510
</li>
35113511
<li>Otherwise <var>element</var> is a <a>node object</a>, perform
@@ -3544,12 +3544,12 @@ <h3>Algorithm</h3>
35443544
<code>@id</code> whose value is <var>id</var>.</li>
35453545
<li>If <var>list</var> is <code>null</code>:
35463546
<ol>
3547-
<li>If <var>node</var> does not have an <var>active property</var> member,
3547+
<li>If <var>subject node</var> does not have an <var>active property</var> member,
35483548
create one and initialize its value to an <a>array</a>
35493549
containing <var>reference</var>.</li>
35503550
<li>Otherwise, compare <var>reference</var> against every item in the
35513551
<a>array</a> associated with the <var>active property</var>
3552-
member of <var>node</var>. If there is no item equivalent to <var>reference</var>,
3552+
member of <var>subject node</var>. If there is no item equivalent to <var>reference</var>,
35533553
append <var>reference</var> to the <a>array</a>. Two
35543554
<a class="changed">dictionaries</a> are considered
35553555
equal if they have equivalent key-value pairs.</li>

0 commit comments

Comments
 (0)