-
Notifications
You must be signed in to change notification settings - Fork 38
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
IRIs or URIs? #32
Comments
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-17#section-3.2.1 An IRI that isn't a URI contains non-ASCII characters. "Link:" is a (relatively) new header field, the octets should be recommended at least to be URIs, not IRIs. |
Right. The counter-argument here is that links are conveyed in a lot more than HTTP headers; e.g., in HTML and Atom. The question is whether those formats should convert from IRI to URI before considering them RFC5988 links. |
-1 to changing to URI only. I have implementations written to assume IRI. I see no justification for adding this limitation. |
Fine.. |
Fundamentally, this issue is the time-worn URI/IRI issue -- is there any semantic difference between a IRI and the URI it can be transformed into? AIUI current IETF thinking is that IRIs are a "presentation artefact" -- i.e., they belong in UIs, not as protocol artefacts (keeping in mind that markup languages like HTML are considered UIs for authors). Not sure if we'll be able to resolve this until there's a definitive answer elsewhere, though. |
I feel like this might be resolved with a note in the Internationalisation Considerations and/or Extension Relation Types sections to the effect of "If you use an IRI for an extension relation type, be aware that it may cause problems." For targets and contexts, we can't disallow IRIs; we can note that they need to be handled carefully in some systems. |
Huh. Internationalisation Considerations in 5988 already says:
So, I think we can close this one. |
5988 specifies links in terms of IRIs. Is this the right thing, or should they be URIs?
The text was updated successfully, but these errors were encountered: