iXML Community Group Test Suite
23 Oct 2023 (22 Nov 2023)
Top-level catalog for tests in the iXML Community Group Test Suite.
Tests have been contributed from several sources, but the core of the test collection are the tests contributed by Steven Pemberton in December 2021.
Ambiguous inputs
01 Jun 2022
Tests provided by Steven Pemberton in December 2021, with corrections of 21 December. Reorganized by Norm Tovey-Walsh, February 2022.
ambig
Created 16 Dec 2021 by SP
Invisible XML Grammar
expr: e.
e: e, "+", e; e, "-", e; "i".
Test case: ambig
Repository URI: …/tests/ambiguous/test-catalog.xml
Created 16 Dec 2021 by SP
Updated 30 Dec 2021 by MSM
remove trailing whitespace from input
Updated 01 Jan 2022 by MSM
remove nonsignificant whitespace from expected result
Updated 01 Jan 2022 by MSM
added alternate expected result
Input string (5 characters)
i+i+i
Expected results (one of)
<!-- AMBIGUOUS
The input from line.pos 1.1 to 1.6 can be interpreted as 'e' in 2 different ways:
1: e[1.1:]: e[:1.2] "+"[:1.3] e[:1.6]
2: e[1.1:]: e[:1.4] "+"[:1.5] e[:1.6]
--><expr xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
<e>
<e>i</e>+<e>
<e>i</e>+<e>i</e>
</e>
</e>
</expr>
<!-- AMBIGUOUS
The input from line.pos 1.1 to 1.6 can be interpreted as 'e' in 2 different ways:
1: e[1.1:]: e[:1.2] "+"[:1.3] e[:1.6]
2: e[1.1:]: e[:1.4] "+"[:1.5] e[:1.6]
--><expr xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
<e>
<e>
<e>i</e>+<e>i</e>
</e>+<e>i</e>
</e>
</expr>