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.

Error tests

01 Jun 2022

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

attribute-roots-plural

Created 03 Jun 2022 by MSM

This grammar marks its start symbol as hidden; when that symbol has multiple children marked as attributes, the sentence 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: wb-not-wf

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 D05, D01.