@greyarea @fentiger Yes, you're right. I found the issue where this behavior was discussed:
https://github.com/w3c/did-core/issues/556
>the design of DID URL syntax was patterned after URN syntax
>Parsing of the rootless path into the segment-nz component and the *( "/" segment) component must be done "manually" by the parser as with URNs.