Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upRelation to RFC6906 incorrect in abstract #17
Comments
RubenVerborgh
assigned
larsgsvensson
Apr 14, 2017
This comment has been minimized.
This comment has been minimized.
RFC 6906 defines the profile relation ( |
This comment has been minimized.
This comment has been minimized.
I'm not convinced about the necessity of such a new keyword instead of a relationship. Also see #11. |
This comment has been minimized.
This comment has been minimized.
My point is that with the "profile" keyword we can supply more metadata about alternate resources, e. g.
I don't know how to do that with RFC 6906 |
This comment has been minimized.
This comment has been minimized.
With RFC6906:
|
This comment has been minimized.
This comment has been minimized.
OK, thanks. Not as straightforward but reuses existing solutions. Do you have a feeling which solution is easier to implement (for the consuming application)? |
This comment has been minimized.
This comment has been minimized.
The custom Reusing
|
This comment has been minimized.
This comment has been minimized.
We need to have a look at:
https://tools.ietf.org/html/draft-nottingham-link-hint-00
1. I am not sure what the current plan with this I-D is
2. I had been in touch a while ago with Mark Nottingham re inclusion of a "profile" link hint. I actually even refer to it in http://signposting.org/conventions/#attributes I don't really remember whether Mark ever reacted.
Still, I think we should keep this in mind. Or at least check with Mark what the plan with the I-D is and whether "profile" could be supported.
Cheers
Herbert
… On Apr 18, 2017, at 18:49, Ruben Verborgh ***@***.***> wrote:
The custom ;profile= seems easier of course, but the question is whether the difference is worthwhile breaking with the rel= paradigm. (The good news is that RFC 5988 Web Linking allows such extensions.) Quick analysis below.
Reusing rel=profile
Pro
reuse of RFC6906, so existing clients remain compatible
works like regular rel=… things
Con
specifying both media type and profile on an alternate representation requires an extra Link
Creating profile=
Pro
single Link to specify both media type and profile on alternate representations
Con
not reusing RFC6906
(Incomplete, but this already shows things depend on usage of RFC6906.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This comment has been minimized.
This comment has been minimized.
Check this tweet thread with Nottingham and Wilde re "profile" and negotiation:
https://mobile.twitter.com/evertp/status/854424773182595072
Herbert
… On Apr 18, 2017, at 18:49, Ruben Verborgh ***@***.***> wrote:
The custom ;profile= seems easier of course, but the question is whether the difference is worthwhile breaking with the rel= paradigm. (The good news is that RFC 5988 Web Linking allows such extensions.) Quick analysis below.
Reusing rel=profile
Pro
reuse of RFC6906, so existing clients remain compatible
works like regular rel=… things
Con
specifying both media type and profile on an alternate representation requires an extra Link
Creating profile=
Pro
single Link to specify both media type and profile on alternate representations
Con
not reusing RFC6906
(Incomplete, but this already shows things depend on usage of RFC6906.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This comment has been minimized.
This comment has been minimized.
Yes, very good questions and good perspectives. A conference call to collect the different views, pros and cons would a good path forward. |
RubenVerborgh
transferred this issue from ProfileNegotiation/I-D-Accept--Schema
Apr 12, 2019
This comment has been minimized.
This comment has been minimized.
Having revisited this thread I'm still not sure how to proceed. I know, though, that we've got a spec to write and even if DXWG is working on a six month extension we need to solve this issue since we point implementers to the |
This comment has been minimized.
This comment has been minimized.
I am really not in favor of the "profile" approach despite the advantages mentioned above. As @RubenVerborgh has shown, everything can be expressed without needing additional functionality; it can be done with Links and rels. I am very much in favor of sticking to that approach; it requires no additional intelligence by agents that consume links. |
This comment has been minimized.
This comment has been minimized.
rob-metalinkage
commented
May 29, 2019
I'm, not sure that the RFC 6906 can be made to work if URIs support content negotiation - they only seem to work if the explicit resource referenced is unique for a mime type so what is the "anchor" - its not the profile in that example, because its not the alternate view of the profile we are trying to advertise - and the actual profile being offered isnt given, If it is the ID of the profile the example is wrong - its not the profile that has the alternate - its the original resource, but the line: http://example.org/something-1.rdf; rel="alternate"; type="application/rdf+xml", doesnt seem to read that way - and doesnt use a profile ID - it seesm to be referencing the resource that conforms to a profile without ever saying what profile it is... |
This comment has been minimized.
This comment has been minimized.
Interesting point. And apologies in advance, this response became longer than I thought it would ;-) I do think the approach can be made to work when URIs support content negotiation. But content for different profiles needs to be made available at different URIs. Consider this variation on @RubenVerborgh's example that does not have explicit file type extensions: Assume that
Let's break it down: => says that => says that there's an alternate representation of => says that there's an alternate representation of => says that there's an alternate representation of Given, the above, the Link header can be simplified to:
As long as all serializations for a given profile are made available at a dedicated URI (i.e. everything for profile-1 at something-1 ; everything for profile-2 at something-2), an agent can unambiguously figure out which profile/serialization combinations are available and how to get them through content negotiation. If we were to serve everything at the same URI, we would get something like:
This says that there are two profiles and two serializations available via |
This comment has been minimized.
This comment has been minimized.
I don't have a strong opinion either way. I think there's benefit to reusing RFC6906, I prefer the already extensible
It was not indeed. |
This comment has been minimized.
This comment has been minimized.
rob-metalinkage
commented
May 30, 2019
i think my other comment was wrong - because i didnt interpret the new "anchor" rel... however: "I do think the approach can be made to work when URIs support content negotiation. But content for different profiles needs to be made available at different URIs." - the whole point of negotatition by profile is that we dont need to have multiple URIs in the wild to support a range of alternative views on the same "thing" - so its not something we can ignore. so - Herbert's last example is pertinent - as is the comment "What an agent can't figure out from this info is which serializations are available for which profile" at this stage we still seem to need the "profile" attribute which carries the same semantics as a rel=profile - the rel=profile talks about the current representation, the attribute talks about linked representations. |
This comment has been minimized.
This comment has been minimized.
Good argument indeed. I'm now inclined to support |
This comment has been minimized.
This comment has been minimized.
Three comments on the reactions to my posting above:
|
RubenVerborgh commentedApr 14, 2017
The abstract mentions that
but this is already done by RFC6906, as confirmed later in the text.