-
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
Terminology issue: Use IRI as resource identifier #183
Comments
👍 for accuracy and precision |
Please see Minutes from 4 March for more on state of discussion of this issue. After reading, please weigh in with more thoughts on whether we should use URL or URI or IRI in our Recommendations. Does someone want to add here a proposal to use URI or URL as a counterpoint to @Takani's proposal to use IRI throughout? |
👍 to IRI, and suggest that we put an entry in the terminology section to explain the implications |
+1 to IRI and implications explanation. |
Discussed on call 2016-03-11: go in with IRI and explain what that means (eg, in the terminology section), revisit when more information |
Is there an additional editorial action needed here? I don't want to lose the valuable examples, but not sure what to do with them? |
I think we agreed that there should be, somewhere, a note detailing the consequences of using IRI (essentially, care should be taken when comparing things). As this is an informal note anyway, it seems to be a good idea to simply put a link to Takeshi's comment. WDYT? |
+1 to adding a note, but not sure whether putting a link to a github comment is acceptable as W3C spec or not. As requested, I have checked how Edge worked with the URLs, and confirmed that it was the same with the IE11's. To convert from URL encoded host name to IRI friendly host name, I tested punycode.js and found no errors, so far.
It is a workaround, and I am wondering if IRI would be available from browsers, via document.IRI or window.id APIs for example, in the near future. |
I think if the link is part of an informative note (and it is), then it should be fine.
I do not know… I think having the note in the document may/will trigger comments when we get the I18N horizontal review. Maybe we will get wiser then…:-) |
Fixed in 3/31 draft. Closing. |
Both JSON-LD [1] and Turtle [2] clearly say that resource IDs are expressed in IRI format. Then, I think IDs in models would be written in IRI, when they are serialized into each format.
On the other hand, the model document uses "URI" in many places, and it might make developers uncertain whether the IDs should be percentage encoded/decoded or not, in serialization/parsing processes.
To remove such ambiguities from the document, the terms URI in the document should be replaced with IRI.
[1] https://www.w3.org/TR/json-ld/#iris
[2] https://www.w3.org/TR/2014/REC-turtle-20140225/#sec-iri
The text was updated successfully, but these errors were encountered: