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.

Error tests

28 Jun 2022

Tests intended to demonstrate errors that processors are required to raise.

rootless

Created 03 Jun 2022 by MSM

This grammar marks all its nonterminal symbols as hidden; since there is no outermost element, the parse tree cannot be serialized as well-formed XML.

Invisible XML Grammar


      -S: a, b, c, d.
      -a: 'able'.
      -b: 'baker'.
      -c: 'charlie'.
      -d: 'dog'.
    

Test case: textnode-at-root

Repository URI: …/tests/error/test-catalog.xml

This input is grammatical but cannot be serialized.

Input string (19 characters)

ablebakercharliedog

Expected result

Raises a dynamic error: one of D06, D01.