Re: No test changes required?

Norm Tovey-Walsh writes:

> Hello folks,
>
> I took the new ixml grammar and updated my implementation to work with
> it. Only two tests fail and I think both are caused by issue #57[1].
> It’s interesting that none of the tests have element or attribute names
> that contain a full stop. Since we plan to allow that again, I’m not
> sure it’s worth writing one. (There are thousands of characters that we
> don’t test in element and attribute names.)

> [1] https://github.com/invisibleXML/ixml/issues/57

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

The 'bnf' test in ixml/test-catalog.xml is the first one I found that
has a 'range' element in the expected output.  There are also other
candidates; grep tells me that the string '<range' or the string
'<class' appears several times in the tests subtree:

    cmsmcq@gemma:~/2022/github/ixml/tests$ grep -l '<range' */*
    correct/range.output.xml
    extra/ixml-one-line.output.xml
    ixml/bnf.inp
    ixml/bnf.output.xml
    ixml/ixml1.output.xml
    ixml/ixml2.output.xml
    ixml/ixml3.output.xml
    ixml/ixml-no-spaces.output.xml
    ixml/ixml-one-line.corr.output.xml
    ixml/ixml.output.xml
    ixml/ixml-spaces.output.xml
    reference/ixml.xml
    cmsmcq@gemma:~/2022/github/ixml/tests$ grep -l '<class' */*
    extra/ixml-one-line.output.xml
    ixml/ixml-no-spaces.output.xml
    ixml/ixml-one-line.corr.output.xml
    ixml/ixml.output.xml
    ixml/ixml-spaces.output.xml
    reference/ixml.xml
    cmsmcq@gemma:~/2022/github/ixml/tests$ 

Michael

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

Received on Wednesday, 23 March 2022 18:23:35 UTC