iXML Community Group Test Suite

01 Jun 2022 (03 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.

unused-rules

Created 16 Dec 2021 by SP

Invisible XML Grammar

a: b.
b: c.
c:.
unused1: e.
e: f.
unused2: .
f: .

Test case: unused-rules

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

Created 01 Mar 2022 by ndw

Updated 01 Mar 2022 by ndw

remove undefined symbol from test

Input string (0 characters)

Expected result

<a>
   <b>
      <c/>
   </b>
</a>