iXML Community Group Test Suite

21 Jun 2022 (28 Jun 2022)

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 2

13 Jun 2022

Grammars 21-40.

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

Added test cases where needed and moved to ixml test collection, June 2022.

sample.grammar.23

Created 08 Feb 2022 by cmsmcq

Another grammar with arbitrary width. This one illustrates that you can't just ignore empty nodes. Just one sentence ('x'), but infinitely many parse trees, all of rank 4 (document node, S, X, "x").

Invisible XML Grammar


	S: X.
	X:  A+, "x", B+.
	A: {nil}. 
	B: {nil}.
      

Test case: g23.c03

Repository URI: …/tests/misc/misc-021-040-catalog.xml

Input string (1 character)

x

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<B/>
   </X>
</S>
<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X>
      <A/>
      <A/>x<B/>
   </X>
</S>
<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X>
      <A/>x<B/>
      <B/>
   </X>
</S>
<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X>
      <A/>
      <A/>
      <A/>x<B/>
   </X>
</S>
<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X>
      <A/>
      <A/>x<B/>
      <B/>
   </X>
</S>
<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog"
    ixml:state="ambiguous">
   <X>
      <A/>x<B/>
      <B/>
      <B/>
   </X>
</S>