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.

Tests producing parse trees

17 Jun 2022 (15 Jun 2023)

Description

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

ixml tests

Created 16 Dec 2021 by SP

Updated 21 Dec 2021 by SP

Corrected input, grammar, or output for 5 tests

Updated 30 Dec 2021 by MSM

Updated catalog, corrected many tests.

Updated 30 May 2022 by MSM

Add whitespace-and-delimiters test sets.

diary

Created 16 Dec 2021 by SP

Invisible XML Grammar
diary: entry+.
entry: date, para.
date: day, s, month, s,  year, nl.
day: digit, digit?.
-digit:["0"-"9"].
month: "January"; "February"; "March"; "April"; "May"; "June";
       "July"; "August"; "September"; "October"; "November"; "December".
year: digit, digit, digit, digit.

para: word++s, s?, blank.
-blank: nl, nl.
-word: (letter; punctuation)+.
-letter: [L].
-punctuation: [".;:,'?!"].
-s: " "+.
-nl: -#a | -#d, -#a .

Test case: diary

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

Created 16 Dec 2021 by SP

Updated 01 Jan 2022 by MSM

stripped non-significant whitespace from result

Input string (141 characters)
24 December 2021
Panic shopping! Panic packing! Will we make it before midnight?

25 December 2021
Food! Presents!

26 December 2021
Groan.

Expected result
<diary>
   <entry>
      <date>
         <day>24</day>
         <month>December</month>
         <year>2021</year>
      </date>
      <para>Panic shopping! Panic packing! Will we make it before midnight?</para>
   </entry>
   <entry>
      <date>
         <day>25</day>
         <month>December</month>
         <year>2021</year>
      </date>
      <para>Food! Presents!</para>
   </entry>
   <entry>
      <date>
         <day>26</day>
         <month>December</month>
         <year>2021</year>
      </date>
      <para>Groan.</para>
   </entry>
</diary>

Test report

PASS