iXML Community Group Test Suite

21 Jun 2022 (28 Jun 2022)

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.

illegal-class.ixml

Created 16 Dec 2021 by SP

Invisible XML Grammar

a: class.
class: [Xx]. {Non-existent class}

Test case: Grammar test

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

Expected result

The grammar is invalid. Raises a static error: S10.