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

URI type of a profile identifier #690

Closed
kamhayfung opened this issue Jan 24, 2019 · 7 comments
Closed

URI type of a profile identifier #690

kamhayfung opened this issue Jan 24, 2019 · 7 comments
Assignees
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days feedback Issues stemming from external feedback to the WG profile-negotiation profiles-vocabulary For discussion of profile description vocabulary
Milestone

Comments

@kamhayfung
Copy link

In 5.2 (https://w3c.github.io/dxwg/profiles/#RPFDECOS), the Note from Antoine said a profile's URI should be an HTTP.

However, the Content Negotiation by Profile (e.g. 6.1, https://www.w3.org/TR/dx-prof-conneg/#abstractmodelcontext) merely says the profile's identifier is just a URI.

An HTTP is an URI but the converse is not true. Please address the discrepancy above.

@nicholascar nicholascar self-assigned this Jan 24, 2019
@nicholascar nicholascar added the feedback Issues stemming from external feedback to the WG label Jan 24, 2019
@nicholascar nicholascar added this to the PROF 2PWD milestone Jan 24, 2019
@nicholascar nicholascar added profile-negotiation profiles-vocabulary For discussion of profile description vocabulary labels Jan 24, 2019
@nicholascar nicholascar modified the milestones: PROF 2PWD, Conneg 2PWD Jan 24, 2019
@aisaac
Copy link
Contributor

aisaac commented Jan 29, 2019

I'm not sure whether this can be fixed very quickly. I had included this note in the document, but I'm not sure that this corresponds to an accepted requirement. At least #242 probably shouldn't be cited as the source of official requirements.

@aisaac
Copy link
Contributor

aisaac commented Jan 29, 2019

So maybe we can close by saying that for the moment the view of the Conneg document should prevail, and we'll check all this against the finalized requirements a bit later?

@kamhayfung
Copy link
Author

What a profile identifier should look like can be further debated in #242, so long as the documentation is eventually consistent. This ticket serves a friendly reminder.

@rob-metalinkage
Copy link
Contributor

Profiles may be referenced using either a URI or a token. If a URI is used it is recommended that it be a HTTP URI that dereferences to a description of the profile. URNs may also be used however systems will need to provide means to describe such profiles for given URN. In the case of a short token the server is responsible for declaring the context by which the token may be resolved into a unique profile identifier, such as an HTTP namespace.

@larsgsvensson
Copy link
Contributor

suggested edit:

URNs may also be used however systems will need to provide means to describe such profiles for given URN.

Other kinds or URIs, e. g. URNs may also be used ...

@kcoyle
Copy link
Contributor

kcoyle commented Feb 28, 2019

I think this would all be clearer if the examples were more "real" - using actual URIs not dummy ones. If you can't think of a real example for URNs then maybe they should be mentioned in the text but not shown in the example.

(In general I think that real-ish examples explain more than dummy ones because people may see something that they recognize. There's more meaning conveyed.)

@larsgsvensson
Copy link
Contributor

larsgsvensson commented Mar 1, 2019

No, I don't have any examples of published profiles that are identified by URNs. My point is merely to highlight that we're not restricting ourselves (or the spec) to http-URIs but that any URI can be used as a profile identifier. I'm definitely not pushing for an example using a data-URI though!

@nicholascar nicholascar added the due for closing Issue that is going to be closed if there are no objection within 6 days label Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days feedback Issues stemming from external feedback to the WG profile-negotiation profiles-vocabulary For discussion of profile description vocabulary
Projects
None yet
Development

No branches or pull requests

6 participants