-
Notifications
You must be signed in to change notification settings - Fork 20
Description
For example in the DID Resolution Algorithm see here
And specifically this text:
error object with type set to INVALID_DID
Which makes you think the type should be "INVALID_DID".
Only when you read the Errors section carefully:
The type value of the error object MUST be a URL. Where the values listed in the section below do not define a URL, the values MUST be prepended with the URL https://www.w3.org/ns/did#.
Do you realise type should be https://www.w3.org/ns/did#INVALID_DID.
In the test suite I wrote a wrong test for this, which passed against the universal resolver because it has a wrong implementation. Both of us misinterpreted the spec suggesting we might want to update the text maybe just to specify the full URL?
error object with type set to https://www.w3.org/ns/did#INVALID_DID