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 2

28 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.34

Created 08 Feb 2022 by cmsmcq

Sample grammar from Niklaus Wirth, Grundlagen und Techniken des Compilerbaus (Bonn: Addison-Wesley, 1996, p. 5.

A finite language: L = ac, ad, bc, bd.

Invisible XML Grammar


      S: A, B.
      A: "a"; "b".
      B: "c"; "d".
    

Test case: g34.c04

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

Input string (2 characters)

bd

Expected result

<S xmlns:ixml="http://invisiblexml.org/NS"
    xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog">
   <A>b</A>
   <B>d</B>
</S>