Skip to content

Commit 32009ec

Browse files
committed
Reduce XML validation errors caused by inappropriate usage of ( and )
1 parent e338921 commit 32009ec

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

xml/issue4212.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ This allows us to state the result precisely, and makes it clear how each round
2626
values of the previous rounds.
2727
<p/>
2828
It seems convenient to change the round counter <math><mi>q</mi></math> to be 1-based (and
29-
<math><msup><mi>X</mi><mrow>(<mn>0</mn>)</mrow></msup></math>
29+
<math><msup><mi>X</mi><mrow><mo>(</mo><mn>0</mn><mo>)</mo></mrow></msup></math>
3030
is an alias for the initial value, <math><mi>X</mi></math>), so that the final result is
31-
<math><msup><mi>X</mi><mrow>(<mi>r</mi>)</mrow></msup></math>.
31+
<math><msup><mi>X</mi><mrow><mo>(</mo><mi>r</mi><mo>)</mo></mrow></msup></math>.
3232
</p>
3333
</discussion>
3434

@@ -60,20 +60,20 @@ the <math><mi>i</mi></math>th element of <math><mi>Y</mi></math> after applying
6060
and the length-<math><mi>n</mi></math> sequence <math><mi>X</mi></math> into a length-<math><mi>n</mi></math> output
6161
sequence <math><mi>Y</mi></math>. Philox applies an <math><mi>r</mi></math>-round substitution-permutation network to
6262
the values in <math><mi>X</mi></math>. <del>A single round of the generation algorithm performs the following steps:</del>
63-
<ins>That is, there are intermediate values <math><msup><mi>X</mi><mrow>(<mn>0</mn>)</mrow></msup></math>,
64-
<math><msup><mi>X</mi><mrow>(<mn>1</mn>)</mrow></msup></math>, &hellip;,
65-
<math><msup><mi>X</mi><mrow>(<mi>r</mi>)</mrow></msup></math>, where
66-
<math><msup><mi>X</mi><mrow>(<mn>0</mn>)</mrow></msup><mo>:=</mo><mi>X</mi></math>, and for each round
67-
<math><mi>q</mi></math> (with <math><mi>q</mi><mo>=</mo><mn>1</mn>, &hellip;, <mi>r</mi></math>),
68-
<math><msup><mi>X</mi><mrow>(<mi>q</mi>)</mrow></msup></math> is computed from
69-
<math><msup><mi>X</mi><mrow>(<mi>q</mi><mo>-</mo><mn>1</mn>)</mrow></msup></math> as follows. The output sequence
70-
is <math><msup><mi>X</mi><mrow>(<mi>r</mi>)</mrow></msup></math>.</ins>
63+
<ins>That is, there are intermediate values <math><msup><mi>X</mi><mrow><mo>(</mo><mn>0</mn><mo>)</mo></mrow></msup></math>,
64+
<math><msup><mi>X</mi><mrow><mo>(</mo><mn>1</mn><mo>)</mo></mrow></msup></math>, &hellip;,
65+
<math><msup><mi>X</mi><mrow><mo>(</mo><mi>r</mi><mo>)</mo></mrow></msup></math>, where
66+
<math><msup><mi>X</mi><mrow><mo>(</mo><mn>0</mn><mo>)</mo></mrow></msup><mo>:=</mo><mi>X</mi></math>, and for each round
67+
<math><mi>q</mi></math> (with <math><mi>q</mi><mo>=</mo><mn>1</mn>,<mo>&hellip;</mo>, <mi>r</mi></math>),
68+
<math><msup><mi>X</mi><mrow><mo>(</mo><mi>q</mi><mo>)</mo></mrow></msup></math> is computed from
69+
<math><msup><mi>X</mi><mrow><mo>(</mo><mi>q</mi><mo>-</mo><mn>1</mn><mo>)</mo></mrow></msup></math> as follows. The output sequence
70+
is <math><msup><mi>X</mi><mrow><mo>(</mo><mi>r</mi><mo>)</mo></mrow></msup></math>.</ins>
7171
</p>
7272
<ol style="list-style-type: none">
7373
<li><p>(4.1) &mdash; <del>The output sequence <math><mi>X</mi><mi>'</mi></math> of the previous round (<math><mi>X</mi></math>
7474
in case of the first round) is permuted to obtain the intermediate state <math><mi>V</mi></math>:</del></p>
7575
<blockquote><pre>
76-
<del><math><msub><mi>V</mi><mrow><mi>j</mi></mrow></msub><mo>=</mo><msub><mi>X</mi>'<mrow><msub><mi>f</mi><mrow><mi>n</mi></mrow></msub>(<mi>j</mi>)</mrow></msub></math></del>
76+
<del><math><msub><mi>V</mi><mrow><mi>j</mi></mrow></msub><mo>=</mo><msub><mi>X</mi>'<mrow><msub><mi>f</mi><mrow><mi>n</mi></mrow></msub><mo>(</mo><mi>j</mi><mo>)</mo></mrow></msub></math></del>
7777
</pre></blockquote>
7878
<p>
7979
<ins>An intermediate state <math><msup><mi>V</mi><mrow>(<mi>q</mi>)</mrow></msup></math> is obtained

0 commit comments

Comments
 (0)