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]
64 questions
4568
votes
31 answers
What is the difference between a URI, a URL and a URN?
People talk about URLs, URIs, and URNs as if they're different things, but they look the same to the naked eye.
What are the distinguishable differences between them?
![](../../users/profiles/2041950.webp)
Sean McMains
- 53,635
- 12
- 43
- 52
293
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?
![](../../users/profiles/605259.webp)
thom
- 2,941
- 3
- 13
- 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…
![](../../users/profiles/71126.webp)
SourceC
- 3,709
- 7
- 47
- 72
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:
…
![](../../users/profiles/76393.webp)
ivan_ivanovich_ivanoff
- 18,003
- 24
- 78
- 100
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…
![](../../users/profiles/5548.webp)
Chris Wenham
- 22,017
- 13
- 56
- 69
6
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://,…
![](../../users/profiles/7208844.webp)
Juri
- 291
- 4
- 11
5
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…
![](../../users/profiles/638546.webp)
Akseli Palén
- 24,406
- 8
- 56
- 68
4
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…
![](../../users/profiles/274627.webp)
Ivan
- 59,167
- 87
- 235
- 370
4
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…
![](../../users/profiles/107013.webp)
MyKey_
- 687
- 1
- 6
- 17
4
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.
![](../../users/profiles/96992.webp)
Colin
- 576
- 3
- 6
4
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- urn:foo:a123%2C456
…
![](../../users/profiles/6570771.webp)
Maximilian Machedon
- 65
- 7
4
votes
1 answer
Do URIs which are neither URLs nor URNs exist?
Can a URI be neither a URL nor a URN?
Over the Internet, there are a lot of Venn diagrams like this one:
According to those representation, in the gray space there are some URIs which are neither URLs nor URNs, but it sounds pretty weird to me.
In…
![](../../users/profiles/4820341.webp)
floatingpurr
- 5,024
- 5
- 30
- 79
4
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…
![](../../users/profiles/6594529.webp)
Bren Ginthom
- 89
- 1
- 6
4
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…
![](../../users/profiles/107783.webp)
Luke Puplett
- 36,042
- 37
- 161
- 231
4
votes
1 answer
Appropropriate URN namespace now that X- is deprecated?
As recently as 2002 the IETF was recommending in RFC 3406 that we should use x- prefixes for URN namespaces we didn't want to register, e.g. urn:x-acme:foobar. Now that the IETF has deprecated the x- prefix in RFC 6648, how are we supposed to…
![](../../users/profiles/421049.webp)
Garret Wilson
- 14,167
- 20
- 115
- 211