Choosing a Namespace URI
The first choice to make is the URI scheme. While theoretically any URI scheme can be used, in practice only two are at all common: http and urn. An http scheme is the familiar http URL that is loaded into web browsers, printed in books, advertised on the sides of buses, and painted on building walls. A URN scheme, by contrast, identifies a Uniform Resource Name (as opposed to a Uniform Resource Locator). According to the URN specification, RFC 2141, URNs “are intended to serve as persistent, location-independent, resource identifiers.”[1] Here are a few examples of URNs:
[1] R. Moats (ed.). “URN Syntax.” 1997. Accessed online in June 2003 at http://www.ietf.org/rfc/rfc2141.txt.
urn:uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access