-
Notifications
You must be signed in to change notification settings - Fork 47
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
Comments
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. |
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? |
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. |
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. |
suggested edit:
Other kinds or URIs, e. g. URNs may also be used ... |
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.) |
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! |
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.
The text was updated successfully, but these errors were encountered: