-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add IANA Considerations section. Fix #1. #196
Conversation
c07453f
to
62ba077
Compare
I wonder about the fragment definition; there may be several issues.
|
@iherman wrote:
Ok, I'll try refactoring some of that text to be more explicit based on how some other specs have defined fragment identifiers for their media type. @iherman wrote:
I considered doing the following:
Would you like to see item 3 above expressed more explicitly in the PR? |
> Ideally, the did+ld+json section shouldn't even have a reference to fragments, just let the definition of the higher-level media type kick in.
I considered doing the following:
1. Just referring to JSON-LD's definition of fragment identifiers, but I predict that the JSON-only people will object to doing that.
2. Having the JSON-only media type point to the fragments section in the DID Core spec and then the JSON-LD media type point to the JSON-LD spec, but I expect people will complain that the two fragment mechanisms could be different.
3. This is what I chose, have both media types point to the fragment identifiers section in the DID Core specification, and then add some text in that section that notes that for JSON-LD media types, that the intent is that the DID Core fragments section is intended to have the same semantics, and then state that "in addition to these normative statements, JSON-LD documents have additional implications for the fragment identifier that are compatible with this section, but important to know for JSON-LD developers"... or something like that.
Would you like to see item 3 above expressed more explicitly in the PR?
Yes. And do not say ’the intent is that the DID Core fragments …’ but make it clear that the two are identical, plus some inherited semantics that are relevant for JSON-LD geeks only. I should sound unambiguous
(We should not forget that this part is reviewed by IANA reviewers!)
Thanks
|
1feadd6
to
5741e22
Compare
@iherman wrote:
Ok, I have applied your suggestions. Let me know if you'd like further changes... and if so, via a PR (as I did my best to look at how HTML5, RDF, JSON-LD, and the Generic URI spec does this and attempted to channel the best of each of those specs). I don't know how to improve it beyond what I've done (and keep most of the stuff that others wanted to keep in that section in place). Normative, multiple reviews, changes made, no objections. Merging. |
This section adds an IANA considerations section, which we need to do in time... but it's being added so we can establish MIME Types for DID Documents, which then describe how fragment identifiers should be interpreted by pointing to the Fragment section in the spec. Doing so will address issue #1.
Preview | Diff