did-resolution icon indicating copy to clipboard operation
did-resolution copied to clipboard

Clean up duplicate normative requirement statement for error property in didResolutionMetadata

Open wip-abramson opened this issue 2 months ago • 2 comments

These two statements in the spec are equivalent.

If the resolution is not successful, the didResolutionMetadata structure MUST contain an error property describing the error

https://w3c.github.io/did-resolution/#did-resolution-metadata:~:text=If%20the%20resolution%20is%20unsuccessful%2C%20this%20structure%20MUST%20contain%20an%20error%20property%20describing%20the%20error.

The error property in the DID Resolution Metadata is REQUIRED when there is an error in the resolution process

https://w3c.github.io/did-resolution/#did-resolution-metadata:~:text=This%20property%20is%20REQUIRED%20when%20there%20is%20an%20error%20in%20the%20resolution%20process

In the DID Resolution test suite call it was suggested to remove the second one.

wip-abramson avatar Oct 22 '25 15:10 wip-abramson

Agreement to remove the second normative statement

wip-abramson avatar Nov 11 '25 08:11 wip-abramson

This was discussed during the #did meeting on 11 November 2025.

View the transcript

w3c/did-resolution#222

Wip: This is a duplicate normative requirement.

Wip: Let's remove the second statement.

manu: +1

JoeAndrieu: Aren't we using problem details instead of error properties -- errors could be different.

Wip: Error property is an property in did resolution metadata, that error property is a ProblemDetails object.


w3cbot avatar Nov 11 '25 09:11 w3cbot