Re: No test changes required?

> ?!  Surely there is a test involving the creation of an XML version of a
> grammar containing an inclusion or an exclusion?

Well, yes, I was surprised too.

>     cmsmcq@gemma:~/2022/github/ixml/tests$ grep -l '<range' */*
>     correct/range.output.xml

Not related to the ixml grammar:

data: range1, range2, -".".
range1: ["0"-"9"].
range2: [#0-#9].

>     extra/ixml-one-line.output.xml

Unused, I believe.

>     ixml/bnf.inp

That’s parsed against its own ixml grammar.

etc.

I don’t think there are any tests that say “parse this input against the
current version of the ixml grammar”. I’m not sure how you’d write such
a test.

I think what really needs to be done is that the input grammars
tests/ixml/ixml.ixml and tests/refrence/ixml.ixml need to be updated.
That *will* break a bunch of tests. Until then, the tests are still
testing the old grammar.

Given the pending change to the namefollower rule and issue #57, I’m not
inclined to do that until after we’ve rev’d the grammar again.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Thursday, 24 March 2022 09:17:17 UTC