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

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

Clearly needs some research...

Steven
On Tuesday 29 March 2022 16:12:57 (+02:00), Norm Tovey-Walsh wrote:

> 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:16:55 UTC