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.

Misc tests

13 Jun 2022

Grammars 1-20.

Tests compiled manually in 2018 and 2019, re-packaged in 2022.

Moved to ixml test collection, June 2022.

sample.grammar.02

Created 08 Feb 2022 by cmsmcq

An attempt to force a prediction to be added after its completion when items are queued in the obvious way. Tests whether the parser handles the situation correctly; it can handle completion items repeatedly, or it can add null predictions earlier, or it can check each newly predicted item to see if it has already been completed.

L(G) = {'', 'a', 'aa' }, 'a' is ambiguous.

Invisible XML Grammar


      S: X, X.
      X: 'a'; .
    

Test case: g02.c02

Repository URI: …/tests/misc/misc-001-020-catalog.xml

Input string (1 character)

a

Expected results (one of)

<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X>a</X>
   <X/>
</S>
<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X/>
   <X>a</X>
</S>