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

The default value for collation in text-sort is incorrect #548

Closed
ndw opened this issue Mar 27, 2024 · 1 comment · Fixed by #552
Closed

The default value for collation in text-sort is incorrect #548

ndw opened this issue Mar 27, 2024 · 1 comment · Fixed by #552

Comments

@ndw
Copy link
Collaborator

ndw commented Mar 27, 2024

The default value is

https://www.w3.org/2005/xpath-functions/collation/codepoint

But that is incorrect. The name of the collation is an http: URI, not an https: URI. The collation URI is correct in the prose that follows.

@ndw
Copy link
Collaborator Author

ndw commented Mar 27, 2024

This one is kind of ugly. We have implementations and probably users who have copied and pasted this URI. So it's going to be a problem if we fix it. And it's not easy to see why https://... is wrong. You have to squint pretty hard to see the difference. On the other hand, we don't want to say it isn't an error because if users copy the URI to some other application, it will very likely raise an error there. That's also a problem.

In whatever erratum we issue to fix the error, I'm tempted to include something like the following:

Implementors are encouraged to detect URIs of the form https://www.w3.org/... in collations and automatically correct them to the http: form, with an appropriate warning to the user if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant