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: Grammar test

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

Expected result

<ixml xmlns:ixml="http://invisiblexml.org/NS"
       xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog">
   <rule name="S">
      <alt>
         <nonterminal name="X"/>
         <nonterminal name="X"/>
      </alt>
   </rule>
   <rule name="X">
      <alt>
         <literal string="a"/>
      </alt>
      <alt/>
   </rule>
</ixml>