In computing, a Uniform Resource Name (URN) is the historical name for a Uniform Resource Identifier (URI) that uses the urn scheme. A URI is a string of characters used to identify a name of a web resource. Such identification enables interaction with representations of the web resource over a network, typically the World Wide Web, using specific protocols.
Questions tagged [urn]
76 questions
4912
votes
31 answers
What is the difference between a URI, a URL, and a URN?
What is the difference between a URL, a URI, and a URN?

Sean McMains
- 57,907
- 13
- 47
- 54
336
votes
4 answers
What is the difference between URI, URL and URN?
What's the difference between an URI, URL and URN? I have read a lot of sites (even Wikipedia) but I don't understand it.
URI: http://www.foo.com/bar.html
URL: http://www.foo.com/bar.html
URN: bar.html
Is this correct?

thom
- 3,371
- 3
- 15
- 4
16
votes
3 answers
Why is URN one of more popular formats used to uniquely identify the resource?
I somewhat understand that URNs are used to provide unique and location independent name for the resource. Yet I fail to see their usefulness and how exactly they work:
a) In order for URN to really be unique, there would have to be some central…

SourceC
- 3,829
- 8
- 50
- 75
10
votes
1 answer
JAXB: How do I annotate classes so that they belong to different namespaces?
I want to have JAXB-annotated classes which would be
marshalled/unmarshalled to different XML namespaces.
What I need is something like:
…

ivan_ivanovich_ivanoff
- 19,113
- 27
- 81
- 100
8
votes
1 answer
Is there a list of URL schemes?
Is there a list of (all, non-custom) URL schemes?
I thought that I just needed to search on google to find tons of answers, but it's probably wrong my (naive) question.
If so, I will settle the (usual) most important:
file://, ftp://, http://,…

Juri
- 311
- 4
- 12
8
votes
1 answer
Can you give an example of a URN for private-use
According to Wikipedia,
urn::
The leading urn: sequence is case-insensitive.
is the namespace identifier, which determines the syntactic
interpretation of , the namespace-specific string. The functional
requirements for…

Luke Puplett
- 42,091
- 47
- 181
- 266
6
votes
1 answer
URN for MIME Type
Does an official URN for the MIME type exist?
Mozilla Firefox and other applications use notations like "urn:mimetype:text/plain" or "urn:mimetype:handler:text/plain".
There are two problems with this approach:
No "mimetype" namespace exists…

MyKey_
- 837
- 1
- 7
- 22
6
votes
1 answer
Using DNS as a URN resolver
I'm looking to either find or build a URN (Universal Resource Name) resolver, which would return 0 or more URIs for a given URN.
For example: urn:fooid:6e8bc430-9c3a-11d9-9669-0800200c9a66:foo might resolve to…

Chris Wenham
- 23,679
- 13
- 59
- 69
6
votes
1 answer
How do I represent URNs (Uniform Resource Names) in .NET so that Equals works as expected
RFC2141 mentions:
Examples of lexical equivalence
The following URN comparisons highlight the lexical equivalence
definitions:
1- URN:foo:a123,456
2- urn:foo:a123,456
3- urn:FOO:a123,456
4- urn:foo:A123,456
5-…

Maximilian Machedon
- 95
- 9
6
votes
3 answers
Is there known URI scheme or URN namespace for Unicode characters?
I need to reference to a Unicode character with a URI. Following IANA references list multiple schemes and namespaces but do not mention anything about identifiers for the Unicode characters. Does anyone know if something like this exists…

Akseli Palén
- 27,244
- 10
- 65
- 75
5
votes
1 answer
Is there an official or de-facto common URN NID for private unregulated use?
I would like to use URNs in a project of mine. And I am hardly willing to apply my humble project for official IANA registration but would like to keep from violating standards if possible. That's why I'd like to know if there is a standard (or…

Ivan
- 63,011
- 101
- 250
- 382
5
votes
3 answers
How do you resolve a URN?
I have an XML schema file which references a urn based location. Is there some way to resolve this into a url, or some way to actually read the file it refers to.

Colin
- 586
- 3
- 6
5
votes
3 answers
How to use Python XML findall to find ' '
I'm trying to do a find all from a Word document for with namespace xmlns:v="urn:schemas-microsoft-com:vml" and I cannot figure out what on earth the syntax is.
The docs only cover the very straight forward…

Grant Curell
- 1,321
- 2
- 16
- 32
5
votes
1 answer
Azure Resource Identifier format URI -URL OR URN
I am working with Azure and I have noticed that for every resource group and resource it created an ID that looks like this.
For Resource Groups
/subscriptions//resourceGroups/
and For Resource it looks like…

Pharaoh
- 712
- 1
- 9
- 33
5
votes
2 answers
Examples of URI, URL and URN
I have read many articles about URIs, URLs and URNs, but I don't understand the diff in real examples.
Could you take a few examples of URI and URL?
I think http://stack.com/first/index.html?submit=yes&action=go#second is URI, not URL, yes?
Then…

Bren Ginthom
- 99
- 1
- 2
- 8