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.

name-starting-xml

Created 03 Jun 2022 by MSM

This grammar includes an attempt to create an attribute named 'xmlns', but that name is reserved.

Invisible XML Grammar


      S: xmlns, able, baker.
      @xmlns: +'http://example.com/this-does-not-work'.
      able: 'a'*.
      baker: 'B'?.
    

Test case: xmlns-forbidden

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. 'xmlns' is not allowed as the name of an attribute.

Input string (2 characters)

aB

Expected result

Raises a dynamic error: one of D07, D01.