-
Notifications
You must be signed in to change notification settings - Fork 30
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
Model is defined in terms of IRIs; Protocol with URI #241
Comments
Consistency demands +1. I am not sure what the effects would be on implementations, maybe something to call out at CR? |
I hate to bring this up, but the term IRI is really deprecated in the industry. The WhatWG has successfully managed to convince many people that a URL is what we need to talk about, and that the way browsers treat URLs is the real definition... so if we want people to grok this who are NOT standards geeks, we should probably just use URL in names. |
We resolved to use IRIs for the model here: The important thing being that comparisons between IRIs are defined more clearly than comparisons between "URL"s. |
Oh - I understand and agree that processing should be done using IRIs. I was just reacting to the name in the ontology. Regardless.... if we are standardizing on IRI, and I think we should be, there is some nice language in RDFa Core that we could roll in:
|
Adding this texts to, or similar, might indeed be a good idea... Ivan P.S. I didn't even remember this text from the RDFa spec... Ivan Herman (Written on mobile, sorry for brevity and misspellings...)
|
A "Living Standard" by the WHATWG which seems to be relevant for this issue: https://url.spec.whatwg.org/ It states as one goal:
|
My problem is not URL vs. URI. Frankly, I do not care too much about that, and I am happy to ditch URI in favour of URL. However, the problem seems to be IRI. At the moment, https://url.spec.whatwg.org/ has a reference to the IRI spec[1] but only as part of the stated goals. I do not see the URL parsing (in the WhatWG document) also taking care of IRI-s. If I am proven wrong then, personally, I do not have any objection using URL-s, acknowledging the fact that the latest HTML draft, for example, refers to the What WG document normatively. But if IRI-s are not (yet) part of the WhatWG spec then I think we would have a problem. [1] M. Duerst; M. Suignard. Internationalized Resource Identifiers (IRIs). January 2005. Proposed Standard. URL: https://tools.ietf.org/html/rfc3987 |
(this is not an i18n WG response) The i18n WG actually discussed this some time ago and concluded that the web annotation spec doesn't imply any particular processing of resource identifiers that could be called IRIs/URLs that would involve things like punycode and percent-escaping. Rather, we concluded that those processes would be run by implementations using the model, and that the name was chosen simply to indicate (per the RDFa explanation quoted above) that the resource identifiers permit the use of characters outside those of plain ASCII. If those assumptions are correct, and as long as the spec states that resource identifiers permit the use of characters outside those of plain ASCII, I don't think we were overly concerned about what you call them. |
How was this resolved? |
The protocol is defined in terms of IRIs, following the decision from Model. We renamed the preference to use IRI instead of URI, and changed all the text references to IRI from URI. |
Should update the protocol to use IRI instead of URI. This results in changing the prefer header from oa:PreferContainedURIs to oa:PreferContainedIRIs.
These two values should be described in the Vocabulary, in the same way that oa:annotationService is.
The text was updated successfully, but these errors were encountered: