URL vs URI ???

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I m very much confused with the terms URL and URI !

Are they Same ? or They are different ?

Pls clarify me

Thx for your time

Re: URL vs URI ???

Prince of Code schreef:
Quoted text here. Click to load it



Re: URL vs URI ???

Janwillem Borleffs:

Quoted text here. Click to load it

Whoever wrote that page was confused.  Every sentence is misleading or
wrong.  For example,

1. 'An Uniform Resource Locator (URL) is the term used to identify an
Internet resource'
URLs are identifiers but this is not what separates them from URNs.
And it is not the term 'URL' but the URL itself that locates a

2. 'An Uniform Resource Name (URN) is the term used to identify an
Internet resource, without the use of a scheme'
All URIs, and therefore URNs, have scheme names.  The author conflates
scheme names with protocols.

3. 'An Uniform Resource Identifier (URI) is used by a browser to
identify a single document'
Or by any other application to identify any other type of resource.

4. '[URIs can be] specified in a single line of text'
Why say this?

5. 'An URL refers to a Web page, including the scheme, but without a
name location'
("Name location" is what this author calls fragment identifiers.)  URLs
_can_ contain fragment identifiers.

6. 'URL is now used as the generic term'
The reasoning is flawed.


Re: URL vs URI ???

Prince of Code:

Quoted text here. Click to load it

RFC3986 : 1.1.3:

| A URI can be further classified as a locator, a name, or
| both.  The term "Uniform Resource Locator" (URL) refers
| to the subset of URIs that, in addition to identifying a
| resource, provide a means of locating the resource by
| describing its primary access mechanism (e.g., its
| network "location").  The term "Uniform Resource Name"
| (URN) has been used historically to refer to both URIs
| under the "urn" scheme [RFC2141], which are required to
| remain globally unique and persistent even when the
| resource ceases to exist or becomes unavailable, and to
| any other URI with the properties of a name.
| An individual scheme does not have to be classified as
| being just one of "name" or "locator".  Instances of URIs
| from any given scheme may have the characteristics of
| names or locators or both, often depending on the
| persistence and care in the assignment of identifiers by
| the naming authority, rather than on any quality of the
| scheme.  Future specifications and related
| documentation should use the general term "URI" rather
| than the more restrictive terms "URL" and "URN"
| [RFC3305].



Site Timeline