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.
Tests producing parse trees
22 Nov 2022
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.
diary2
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: char*, blank.
-blank: nl, nl.
-char: letter; punctuation; s.
-letter: [L].
-punctuation: [".;:,'?!"].
-s: " ".
-nl: -#a | -#d, -#a .
Test case: diary2
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>