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


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.

Grammar Syntax tests

03 Jun 2022


Syntax tests provided by Steven Pemberton in December 2021.

All tests are negative (the file.ixml files do not conform to the grammar for ixml).

Since these are all parsed against the grammar for ixml grammars, the expected result could be given as 'assert-not-a-grammar' as well as 'assert-not-a-sentence'. The inputs are not sentences in the language defined by the grammar for grammars, which means they are not ixml grammars.

Three catalogs are provided, using different formulations. This one describes all the tests as grammar tests and relies on the ixml grammar built into the processor.


Created 16 Dec 2021 by SP

Invisible XML Grammar
a: b, c.
b: c, d.
c: [""-"d"]. {Must be length 1} 
d: .

Test case: Grammar test

Repository URI: …/tests/syntax/catalog-as-grammar-tests.xml

Expected result

The grammar is invalid. Raises a static error.

Test report