Closed msporny closed 5 years ago
Run experiments where we feed various DID URLs (basic, basic+service, basic+service+path, basic+path+fragment, etc.) to a URL resolver library and see what happens.
I believe most URI parsers would be able to correctly extract query and fragment, but wouldn't be able to interpret the rest of the DID syntax (method, method-specific identifier, service, path). Of course specialized DID URI parsers could do that.
My comment wasn't so much to do with parsing a did:
URI - I agree most parsers should handle that OK.
I was more concerned with what surprises might be in store if relative URI references were used in connection with a did:
base URI (cf. https://tools.ietf.org/html/rfc3986#section-5)
Quick note that this issue is relevant to the Service Endpoint Construction algorithm in the DID Resolution spec. Perhaps we should create a new issue over there and close this one.
Closing as we have adopted this issue in the new DIDWG repo.
@gklyne wrote: