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.

Insertion tests

01 Jun 2022

This test set collects some grammars that use textual insertion.

insert-example

Created 16 May 2022 by jwL

A grammar with textual insertion as given as an example in the spec.

Invisible XML Grammar

 data: value++-",", @source. source: +"ixml". value: pos; neg. -pos: +"+", digit+.
      -neg: +"-", -"(", digit+, -")". -digit: ["0"-"9"]. 

Test case: iEx-1

Repository URI: …/tests/grammar-misc/insertion-tests.xml

Input string (17 characters)

100,200,(300),400

Expected result

<data xmlns:ixml="http://invisiblexml.org/NS" source="ixml">
   <value>+100</value>
   <value>+200</value>
   <value>-300</value>
   <value>+400</value>
</data>