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.

Insertion tests

01 Jun 2022

This test set collects some grammars that use textual insertion.

insert-special

Created 20 Aug 2022 by SP

A grammar that parses and inserts special characters. From an email message.

Invisible XML Grammar

element: @attribute, -content.
attribute: -content.
content:   +#26, +#22, +#27, +#3C, +#3E,
            #26,  #22,  #27,  #3C,  #3E.

Test case: insert-special

Repository URI: …/tests/grammar-misc/insertion-tests.xml

Input string (10 characters)

&"'<>&"'<>

Expected result

<element xmlns:ixml="http://invisiblexml.org/NS" attribute="&amp;&#34;'&lt;&gt;&amp;&#34;'&lt;&gt;">&amp;"'&lt;&gt;&amp;"'&lt;&gt;</element>