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.

ambiguous-without-marks

Created 09 May 2023 by ndw

Invisible XML Grammar

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

Test case: B-or-B

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

Created 09 May 2023 by ndw

This grammar is ambiguous only if the processor does not remove duplicate rules. But there’s nothing in the specification that says a processor must.

Input string (3 characters)

abc

Expected results (one of)

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