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

IRI-s vs. URL-s #25

Closed
iherman opened this issue Jul 1, 2018 · 10 comments
Closed

IRI-s vs. URL-s #25

iherman opened this issue Jul 1, 2018 · 10 comments

Comments

@iherman
Copy link
Member

iherman commented Jul 1, 2018

Wonder whether we should not adopt URL-s in the terminology, with the remark that the term encompasses IRI-s like done, eg, in the HTML document reference. This is where developers have gone, and it may be silly to ignore it and continue using the IRI term...

(The same comment applies to the other two documents, too, obviously.)

@gkellogg
Copy link
Member

gkellogg commented Jul 1, 2018

It seems to be the way things are going, although I personally miss the distinction between “Identifier” and “Locator”, which implies dereferencability.

@gkellogg
Copy link
Member

gkellogg commented Jul 1, 2018

Interesting that DOM continues to use URI, at least for baseURI. RDF 1.1 uses IRI, so it may make sense to continue that usage.

@iherman
Copy link
Member Author

iherman commented Jul 2, 2018

I see end users the main targets of this document, which intends to be very didactic (which is good!). Application developers (who would use the DOM) is not really our concern in this respect (besides, baseURI is probably kept for backward compatibility reasons).

Yes, RDF uses IRI, we cannot change that. And it is probably the precise way of saying things. But I do not consider this as a decisive factor...

@azaroth42
Copy link
Contributor

There is a technical difference between IRIs and URIs. In particular, consider this comment: w3c/web-annotation#183 (comment)

The processing model changes to some degree, so we should be careful not to invalidate 1.0 documents unintentionally.

@azaroth42
Copy link
Contributor

In the HTML5 note, there is this caveat:

There are notable differences in the manner in which Web browsers and other software stacks outside the HTML context handle URLs.

Given that JSON-LD is not just for web browsers, before we could accept this change, I think we should determine the extent to which the caveat would make life more difficult. I propose we do not take action on this issue until we can address the concern.

@azaroth42
Copy link
Contributor

PROPOSAL: Defer any change until the extent to which technical differences between URL and IRI can be determined, especially any difference between web browser and other stacks.

@azaroth42 azaroth42 added the defer-future-version Defer this issue until a future version of JSON-LD label Sep 17, 2018
@azaroth42
Copy link
Contributor

Proposal above was accepted by the WG, on the call on 2018-09-14. Tagging defer until the above is satisfied.

@krobi64
Copy link

krobi64 commented Sep 21, 2018

Question around this topic: Until we can implement a did method for our framework (https://po.et), I was looking to use https://tools.ietf.org/html/rfc2397 as a way to for our users to anonymously insert identity, specifically for the Ed25519 2018 Signature Verification Key. It seems that you are specifically referencing https and http URL schemes. That is far too limiting.

@BigBlueHat
Copy link
Member

@krobi64 that's precisely why many of us would prefer to keep the IRI terminology in use in the spec now: https://www.w3.org/TR/json-ld11/#iris

By that definition data: IRIs/URLs work just fine. Their a bit unusual as standalone identifiers (due to how long they can get), but they certainly work fine as values.

JSON-LD supports any kind of IRI (including URIs, URNs, and URLs) not just https and http URL schemas (however common those might be).

@azaroth42 azaroth42 added propose closing and removed defer-future-version Defer this issue until a future version of JSON-LD labels Feb 8, 2019
@iherman
Copy link
Member Author

iherman commented Feb 9, 2019

This issue was discussed in a meeting.

  • RESOLVED: Close syntax #25 wontfix, we stick with IRI rather than using URL {: #resolution9 .resolution}
View the transcript URL-s vs. IRI-s
Ivan Herman: #25
Proposed resolution: Close syntax #25 wontfix, we stick with IRI rather than using URL (Rob Sanderson)
Gregg Kellogg: +1
Adam Soroka: +1
Rob Sanderson: +1
Ivan Herman: +1
Harold Solbrig: +1
David Newbury: +1
Simon Steyskal: +1
Benjamin Young: +1
Jeff Mixter: +1
Resolution #9: Close syntax #25 wontfix, we stick with IRI rather than using URL {: #resolution9 .resolution}

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

No branches or pull requests

5 participants