Re: Test elem1 in the test suite

Norm Tovey-Walsh writes:

> Steven Pemberton <steven.pemberton@cwi.nl> writes:
>> As author of the test, let me say: The test is meant to check that []
>> correctly fails to match any input.
>> The grammar is correct, but it is unable to match any input, since []
>> never matches. So whatever input it receives, it will fail to find a
>> parse.

>> The test should succeed if it fails to match its input.

Yes.  The catalog is wrong.

In my own defense, in the syntaxtests.zip file from which I was working,
the test was placed in a directory of tests whose common feature is that
they all involved ixml grammars which need to be rejected because they
are not conformant grammars.  The catalogs were created by making a
catalog entry for each grammar saying the grammar should be rejected.

For this test case, that is not corred.

> Okay. I *think* that means it’s incorrectly described by the catalog.
> But I’ll wait and see what Michael says.

It's incorrectly described.

Michael

-- 
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
http://blackmesatech.com

Received on Tuesday, 8 February 2022 15:39:13 UTC