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.

ambig6

Created 16 Dec 2021 by SP

Invisible XML Grammar

block: "{", rule**";", "}".
rule: name, "=", value; .
name: [L]+.
value: [Nd]+.

Test case: ambig6

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

Created 16 Dec 2021 by SP

Updated 01 Jan 2022 by MSM

remove trailing whitespace from input

Updated 01 Jan 2022 by MSM

remove nonsignificant whitespace from expected result

Updated 01 Jan 2022 by MSM

added second parse as expected result

Input string (2 characters)

{}

Expected results (one of)

<!-- AMBIGUOUS
     The input from line.pos 1.2 to 1.2 can be interpreted as 'rule*";"' in 2 different ways:
     1: rule*";"[1.2:]:  
     2: rule*";"[1.2:]:  rule+";"[:1.2] 
--><block xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">{}</block>
<!-- AMBIGUOUS
     The input from line.pos 1.2 to 1.2 can be interpreted as 'rule*";"' in 2 different ways:
     1: rule*";"[1.2:]:  
     2: rule*";"[1.2:]:  rule+";"[:1.2] 
--><block xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">{<rule/>}</block>