-
Notifications
You must be signed in to change notification settings - Fork 4
Add Appendix on complete grammar for IRI based on RFC3987. #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The following grammar parses correctly, pulling in productions from RFC3987, which could serve as a starting point:
The HTML production needs some work, but I get the following:
Probably just need to update some of the productions by hand, unless there's a better tool out there for generating the HTML. |
I suggest keeping the rule order of 3986.
|
HEXDIG, DIGIT, ALPHA are from the ABNF spec "Core Rules". |
That's an artifact of the serializer, which needs some more updates. I'll re-generate for a PR. |
As long as we are clear where they come from (i.e. not us!). Hmm - "2.1 Percent-Encoding" says:
but HEXDIG is upper case only. It is the "Case Normalization" step of the Comparison Ladder that adjusts them. |
See #15 (comment) for the discussion leading to this issue.
The text was updated successfully, but these errors were encountered: