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

Add clarification about case sensitivity #34

Open
hollasch opened this issue Oct 18, 2019 · 1 comment
Open

Add clarification about case sensitivity #34

hollasch opened this issue Oct 18, 2019 · 1 comment

Comments

@hollasch
Copy link
Owner

While it is possible to properly perform case-insensitive comparison, the process is complicated and must be explicit in the face of multiple locales. We could specify that all identifiers (keys, element types, and other IDs) are transformed to lowercase in the English locale, or processed with a standard foldcase implementation, this becomes onerous when behavior must be identical across any number of implementations, software languages and libraries.

In the interest of keeping the specification simple and easy to implement, simply dictate that all identifiers are case-sensitive, and possibly advocate for a convention of using lowercase (perhaps).

Another option—though messy—would be to specify that all ASCII characters will be compared case-insensitive in the English locale. It's an exception that would get a lot of utility, but is also an ugly inconsistency.

@hollasch hollasch self-assigned this Oct 18, 2019
@hollasch
Copy link
Owner Author

@hollasch hollasch removed their assignment May 7, 2020
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