Skip to Content
avatar image
Former Member

URI and URN in SWCV

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 30, 2009 at 02:57 AM

    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:

    [difference-between-urn-and-url|difference-between-urn-and-url]

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2009 at 02:46 AM

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

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 30, 2009 at 03:35 AM

    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

    Add comment
    10|10000 characters needed characters exceeded