sandflow / doi-uri-scheme

0 stars 0 forks source link

Relationship with IRIs #19

Open palemieux opened 4 weeks ago

palemieux commented 4 weeks ago

if a DOI URI is used in a context where an IRI is expected (such as in an RDF file), should any non-ASCII Unicode graphic characters in the DOI Name be %-encoded? My default reading of the draft as it stands is that they would be. All URIs are valid IRIs, so using %-encoded UCS characters should be fine. (I am also reminding myself that the RFC3987 mapping is idempotent - https://www.rfc-editor.org/rfc/rfc3987#section-3.1.)

palemieux commented 4 weeks ago

Propose to add:

Chapter 6. RELATIONSHIP WITH IRIs. Internationalized Resource Identifiers (IRIs), which are specified in RFC 3987, are a kind of identifier used in applications such as the Resource Description Framework (RDF). The IRI syntax is an extension of the URI syntax, and every URI is also an IRI. As such, a DOI Name URI can be used without modification when an IRI is needed to identify the referent underlying that DOI Name URI. In particular, the URI-to-IRI conversion algorithm specified at RFC 3987, Section 3.2 should not be applied to a DOI Name URI.