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.09

Created 08 Feb 2022 by cmsmcq

Updated 18 Feb 2022 by cmsmcq

Corrected typo in grammar, supplied missing Block

Toy if-then-else ambiguity from Loup Vaillant.

Also illustrates use of character numbers.

Invisible XML Grammar


      Block: "{}", S; If.
      If: "if", S, Block; "if", S, Block, "else", S, Block.
      S: [" "; #0A; #0D; #09]*.
    

Test case: g09c03

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

Input string (5 characters)

if {}

Expected result

<Block xmlns:ixml="http://invisiblexml.org/NS"
        xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog">
   <If>if<S> </S>
      <Block>{}<S/>
      </Block>
   </If>
</Block>