GitHub

Original file line numberDiff line numberDiff line change

@@ -271,7 +271,7 @@ <h4>Computation steps</h4>

271271

<li id="step2B.ii.c">Append the <code>result</code>, with a space, to the <code>accumulated text</code>.</li>

272272

</ol>

273273

</li>

274-

<li id="step2B.iii">Return the <code>accumulated text</code>.</li>

274+

<li id="step2B.iii">Return the <code>accumulated text</code> if it is not the empty string ("").</li>

275275

</ol>

276276

</li>

277277

</ul>

@@ -350,7 +350,7 @@ <h4>Computation steps</h4>

350350

<li id="step2F.iii.c">Append the <code>result</code> to the <code>accumulated text</code>. </li>

351351

</ol>

352352

</li>

353-

<li id="step2F.iv">Return the <code>accumulated text</code>.</li>

353+

<li id="step2F.iv">Return the <code>accumulated text</code> if it is not the empty string ("").</li>

354354

</ol>

355355

<p><strong>Important</strong>: Each <a class="termref">node</a> in the subtree is consulted only once. If text has been collected from a descendant, but is referenced by another IDREF in some descendant node, then that second, or subsequent, reference is not followed. This is done to avoid infinite loops. </p>

356356

<div><details>

Read the original on github.com ↗