cancel
Showing results for 
Search instead for 
Did you mean: 

URI and URN in SWCV

Former Member
0 Kudos

Hi Experts,

Can anyone please explain that what is the difference between URI and URN in SWCV and when to declare what?

URN AND URI is required to declare the namespace

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Uniform Resource Identifiers (URI) provide a simple and extensible means for identifying a resource. This specification of URI syntax and semantics is derived from concepts introduced by the World Wide Web global information initiative.

A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URI that identify resources via a representation of their primary access mechanism (e.g., their network "location"), rather than identifying the resource by name or by some other attribute(s) of that resource. The term "Uniform Resource Name" (URN) refers to the subset of URI

that are required to remain globally unique and persistent even when the resource ceases to exist or becomes unavailable.

For better understanding go through this link:

[|]

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi..Majunder,

Please find the below details.......

Uniform Resource Identifier (URI):It addresses a resource in the Internet in the following way:

By name: This is called Uniform Resource Name (URN).

By location,u201DThis is called Uniform Resource Locator (URL).

URL is a mechanical link to a resource's location, where it can be downloaded. For this reason, a URL contains a hostname and a local part, all of which can be resolved anywhere on the Internet. Uniform Resource Locator (URL):It addresses a resource in the Internet. The URL is the address you enter into the address field of your browser. The URL syntax describes a subset of the Uniform Resource Identifier

syntax.

It addresses a resource in the Internet, regardless of its location. The URN syntax follows the

rules of the URI. A URN can also be used to define distinct entities without being associated

to an existing resource. The name spaces in the portal make use of this feature. A URN has

the prefix: urn://.

Thanks & Regards,

Leela

Shabarish_Nair
Active Contributor
0 Kudos

you can use either of them they are options in declaring namespaces.

read more @ http://www.w3.org/TR/uri-clarification/