CoffeeFilter Test Report

Report generated on 06 Aug 2023 at 21:03 with CoffeeFilter version 3.2.1 (using CoffeeGrinder version 3.2.1) from a test suite dated 21 Jun 2022 (20 Jun 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.

ambig4

Created 16 Dec 2021 by SP

Invisible XML Grammar
properties: property+.
property: name, "=", value++",", eol.
name: [L]+.
value: ~[","]+.
eol: -#a | -#d, -#a .

Test case: ambig4

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

Created 16 Dec 2021 by SP

Updated 30 Dec 2021 by MSM

trim ungrammatical trailing LF from input

Updated 01 Jan 2022 by MSM

remove nonsignificant whitespace from expected result

Updated 01 Jan 2022 by MSM

add alternate expected result

Input string (20 characters)
red=#f00
green=#0f0
Expected results (one of)
<!-- AMBIGUOUS
     The input from line.pos 1.1 to 3.1 can be interpreted as 'property+' in 2 different ways:
     1: property+[1.1:]:  property[:2.1] property+[:3.1] 
     2: property+[1.1:]:  property[:3.1] 
--><properties xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
   <property>
      <name>red</name>=<value>#f00</value>
      <eol/>
   </property>
   <property>
      <name>green</name>=<value>#0f0</value>
      <eol/>
   </property>
</properties>
<properties xmlns:ixml="http://invisiblexml.org/NS" ixml:state="ambiguous">
   <property>
      <name>red</name>=<value>#f00
green=#0f0</value>
      <eol/>
   </property>
</properties>

Test report

PASS