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.

well-balanced-xml

Created 03 Jun 2022 by MSM

This grammar marks its start symbol as hidden; when that symbol has multiple children, 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: multiple-root-elements

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

Created 03 Jun 2022 by MSM

Updated 20 Jun 2022 by MSM

rename testcase

This input is grammatical but cannot be serialized.

Input string (19 characters)

ablebakercharliedog

Expected result

Raises a dynamic error: one of D06, D01.