iXML Community Group Test Suite

01 Jun 2022 (03 Jun 2022)

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.

parse tests

01 Jun 2022

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


Created 16 Dec 2021 by SP

Invisible XML Grammar

url: scheme, ":", authority, path.
@scheme: name.
-name: letter+.
-authority: "//", host.
host: sub++".".
-sub: name.
path: ("/", seg)+.
-seg: sname.
-sname: fletter*.
-letter: ["a"-"z"]; ["A"-"Z"]; ["0"-"9"].
-fletter: letter; ".".

Test case: url1

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

Created 16 Dec 2021 by SP

Input string (53 characters)


Expected result

The input does not match the grammar.

The grammar as written allows no hash mark and fragment identifier. The intent may have been to formulate a grammar that allowed them, but the simplest change to bring it into a consistent state is to change the result.

For the record, the originally asserted result is now in file 'url1.disputed-output.xml'.