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.

Tests producing parse trees

17 Jun 2022

Tests provided by Steven Pemberton in December 2021, with corrections of 21 December. Reorganized by Norm Tovey-Walsh, February 2022.

ixml tests

Created 16 Dec 2021 by SP

Updated 21 Dec 2021 by SP

Corrected input, grammar, or output for 5 tests

Updated 30 Dec 2021 by MSM

Updated catalog, corrected many tests.

Updated 30 May 2022 by MSM

Add whitespace-and-delimiters test sets.

para-test

Created 16 Dec 2021 by SP

Invisible XML Grammar

doc: section+.
section: para, lf.
para: line+.
line: ~[#a | #d]+, lf.
-lf: -#a | -#d, -#a.

Test case: para-test

Repository URI: …/tests/correct/test-catalog.xml

Created 16 Dec 2021 by SP

Updated 30 Dec 2021 by MSM

changed result

Updated 12 May 2022 by NDW

changed result

Input string (84 characters)

AB December 2021
Para entry.

Here is annother section
See.

And another.
The end.

Expected result

<doc>
   <section>
      <para>
         <line>AB December 2021</line>
         <line>Para entry.</line>
      </para>
   </section>
   <section>
      <para>
         <line>Here is annother section</line>
         <line>See.</line>
      </para>
   </section>
   <section>
      <para>
         <line>And another.</line>
         <line>The end.</line>
      </para>
   </section>
</doc>

The grammar as written allows only one section; the input has several. The error was probably in the formulation of the grammar. The grammar has been updated to one possible correct forumulation.