oasis-tcs / odata-abnf

OASIS OData TC: Supporting an ABNF for OData URLs, headers, and literal data values
https://github.com/oasis-tcs/odata-abnf
Other
11 stars 5 forks source link

verifying a bug in the generated parser #31

Closed guenni68 closed 3 years ago

guenni68 commented 3 years ago

I think I may have discovered a bug in the generated parser. I've added a test case that should not fail according to the grammar, but it does.

The official OData-ABNF grammar does indeed include ambiguities that could possibly be resolved in order to allow for generating parsers without the need for "Constraint"s but there additionally seems to be a bug in the generated parser.

guenni68 commented 3 years ago

Hello Ralf, thanks again for your explanation.

I will try to "disambiguate" the grammar some other way.