Skip to content
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

Remove the Unicode non-character constraint #197

Closed
ndw opened this issue Aug 3, 2023 · 1 comment
Closed

Remove the Unicode non-character constraint #197

ndw opened this issue Aug 3, 2023 · 1 comment

Comments

@ndw
Copy link
Contributor

ndw commented Aug 3, 2023

I had occasion to look at the RFC 8259 grammar for JSON, wherein we find:

 unescaped = %x20-21 / %x23-5B / %x5D-10FFFF

which I’d be tempted to represent in iXML as

 unescaped = #20-#21 | #23-#5B | #5D-#10FFFF

except…#10FFFF isn’t a valid hex reference in Invisible XML because it’s a Unicode “non-character”.

I think we should probably remove the constraint on non-characters.

@ndw
Copy link
Contributor Author

ndw commented Oct 4, 2023

At the meeting of 3 October 2023, the CG agreed to close this issue without action.

If the input is a sequence of Unicode characters, it's not necessary to support non-characters. The RFC 8259 grammar is a leaky abstraction and we don't need to make our abstractions leaky as well.

@ndw ndw closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant