CoffeeFilter Test Report
Report generated on 06 Aug 2023 at 21:03 with CoffeeFilter version 3.2.1 (using CoffeeGrinder version 3.2.1) from a test suite dated 21 Jun 2022 (20 Jun 2023).
Description
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
Description
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
Description
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: Grammar test
Repository URI: …/tests/misc/misc-001-020-catalog.xml
Expected result
<ixml xmlns:ixml="http://invisiblexml.org/NS"
xmlns:tc="https://github.com/invisibleXML/ixml/test-catalog">
<rule name="Block">
<alt>
<literal string="{}"/>
<nonterminal name="S"/>
</alt>
<alt>
<nonterminal name="If"/>
</alt>
</rule>
<rule name="If">
<alt>
<literal string="if"/>
<nonterminal name="S"/>
<nonterminal name="Block"/>
</alt>
<alt>
<literal string="if"/>
<nonterminal name="S"/>
<nonterminal name="Block"/>
<literal string="else"/>
<nonterminal name="S"/>
<nonterminal name="Block"/>
</alt>
</rule>
<rule name="S">
<alt>
<repeat0>
<inclusion>
<member string=" "/>
<member hex="0A"/>
<member hex="0D"/>
<member hex="09"/>
</inclusion>
</repeat0>
</alt>
</rule>
</ixml>
Test report
PASS