Re: An interesting attribute bug^H^H^Hfeature

Steven Pemberton <steven.pemberton@cwi.nl> writes:
> I can't reproduce your bug.

If you checkout the ‘correct-grammar-tests’ PR, you’ll find
comment.ixml:

{ a comment }
S: { another comment } 'a' { and another } .
{ a final comment }

If I feed that to your implementation using the reference ixml grammar
in ixml/tests/reference/ixml.ixml:

$ curl -F "g=@../../tests/reference/ixml.ixml" -F "i=@comment.ixml" http://pembo.xs4all.nl/OBFUSCATED

I get:

<ixml>
   <comment> a comment </comment>
   <rule name='S'>
      <comment> another comment </comment>
      <alt>
         <literal string='a and another '/>
      </alt>
   </rule>
   <comment> a final comment </comment>
</ixml>

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Tuesday, 29 March 2022 14:14:21 UTC