Skip to content

URI (and namespace) equality #476

@jakebeal

Description

@jakebeal

I ran into problems with namespace URIs in #SynBioDex/pySBOL3/issues/343 , because I was comparing them with string equality rather than URI equality.

To help keep other people from running into this problem, I would propose adding the following clarifying text to the specification in Section 5.1:

Because identities are URIs, both URIs and URI prefixes MUST be compared under the rules for URI equality. This means, for example, that namespaces https://synbiohub.org/, https://synbiohub.org, and https://synbiohub.org:443/ are all equal.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions