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.

Ambiguous inputs

01 Jun 2022

Tests provided by Steven Pemberton in December 2021, with corrections of 21 December. Reorganized by Norm Tovey-Walsh, February 2022.


Created 05 May 2023 by ndw

Invisible XML Grammar

S = A, B, C | A, @B, C . A = 'a' . B = 'b' . C = 'c' .

Test case: Battr

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

Created 05 May 2023 by ndw

Updated 09 May 2023 by ndw

Attempted to improve the description.

This grammar is ambiguous. That is, it matches exactly “abc”, but it does so in two different ways. This difference is visible in the selection of B as either an element or an attribute.

Input string (3 characters)


Expected results (one of)

<S xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
<S xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous" B="b">