CoffeeFilter Test Report

Report generated on 29 Oct 2024 at 10:59 with version 3.2.7 from a test suite dated 23 Oct 2023 (22 Nov 2023).

Description

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 (09 May 2023)

Description

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

lf2

Created 05 Feb 2022 by ndw

Invisible XML Grammar
input: line++lf, lf?.
line: ~[#a | #d]*.
lf: -#a | -#d, -#a .

Test case: lf2

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

Created 05 Feb 2022 by ndw

Updated 05 Feb 2022 by ndw

Converted it into the catalog format

Updated 05 Feb 2022 by ndw

Added alternate output

Input string (49 characters)
Now is the time
For all good people
To have fun.
Expected results (one of)
<!-- AMBIGUOUS
     The input from line.pos 1.1 to 4.1 can be interpreted as 'input' in 2 different ways:
     1: input[1.1:]:  line+lf[:3.13] lf?[:4.1] 
     2: input[1.1:]:  line+lf[:4.1] lf?[:4.1] 
--><input xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
   <line>Now is the time</line>
   <lf/>
   <line>For all good people</line>
   <lf/>
   <line>To have fun.</line>
   <lf/>
</input>
<!-- AMBIGUOUS
     The input from line.pos 1.1 to 4.1 can be interpreted as 'input' in 2 different ways:
     1: input[1.1:]:  line+lf[:3.13] lf?[:4.1] 
     2: input[1.1:]:  line+lf[:4.1] lf?[:4.1] 
--><input xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
   <line>Now is the time</line>
   <lf/>
   <line>For all good people</line>
   <lf/>
   <line>To have fun.</line>
   <lf/>
   <line/>
</input>

Test report

PASS