Is a semi colon allowed in a specific-idstring?

Hi everyone,

The current published version of the DID spec (v0.11) includes examples
like this: did:example:123456789abcdefghi;photos

However the grammar in v0.11 doesn't allow that semi-colon.

did-reference      = did [ "/" did-path ] [ "#" did-fragment ]
did                = "did:" method ":" specific-idstring
method             = 1*methodchar
methodchar         = %x61-7A / DIGIT
specific-idstring  = idstring *( ":" idstring )
idstring           = 1*idchar
idchar             = ALPHA / DIGIT / "." / "-"


Is this an error or does this mean that specific schemes can override the
generic scheme?

Our team has open sourced our Golang DID Parser
https://github.com/ockam-network/did

Thank you all,
Mrinal

CTO @ Ockam

Received on Monday, 19 November 2018 10:25:22 UTC