Did-core: Path semantics (general vs method-specific)

Created on 23 Feb 2021  路  6Comments  路  Source: w3c/did-core

One thing that's unclear about the current DID Core spec is the semantics of the Path portion of DID URIs. So, the syntax is clear (same ABNF as RFC3254 URI paths). But what DID paths mean or what they're used for is not mentioned.

I'd like to add PR with a sentence to the path section of DID URI Syntax, that states "path semantics are specified by DID Methods".

Any objections?

PR exists editorial

Most helpful comment

Suggestion by the Editors (could wordsmith further): Path semantics, as with URIs, can be specified by DID Methods, which in turn might enable DID controllers to further specialize those semantics.

All 6 comments

I think I disagree slightly that path semantics are exclusively determined by DID methods. I think they may also be determined by DID controllers. Some DID methods may specify exactly what the path means and how it is used; others may allow the DID controller to do whatever they want with the path.

How about adding a sentence that says "path semantics are specified by DID methods and DID controllers"?

Anyway just a suggestion, I wouldn't object to your sentence either :)

Some DID methods may specify exactly what the path means and how it is used; others may allow the DID controller to do whatever they want with the path.

I think that in the latter case, those DID methods have specified that they are delegating (cough) control of the path semantics to the DID controllers. Without such specific delegation, the DID controllers do not have control of the path semantics.

It's a little hand-wavy, but I think that "path semantics are specified by DID methods and DID controllers" will lead readers to think that DID controllers can specify path semantics in cases where the DID method has not delegated that control, and that would be incorrect and problematic.

path semantics are specified by DID methods and DID controllers

+1

Suggestion by the Editors (could wordsmith further): Path semantics, as with URIs, can be specified by DID Methods, which in turn might enable DID controllers to further specialize those semantics.

PR #702 has been opened to address this issue. This issue will be closed once PR #702 is merged.

PR #702 has been merged, closing.

Was this page helpful?
0 / 5 - 0 ratings