Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Uniform Resource Identifiers (URIs) and Internationalized Resource Identifiers (IRIs)

Identify any resource on the Web

Contributors:  IETF

Summary:  Uniform Resource Identifiers (URIs) define a standard system for identifying resources on the Web, including HTML pages, XML documents, images, multimedia files, and more. Get to know how URIs, Uniform Resource Names (URNs), and URLs are related, discover the difference between absolute and relative URIs, and learn about Internationalized Resource Identifiers (IRIs), an enhanced version of URIs with better support for non-English speakers.

Date:  25 Apr 2007 (Published 06 Feb 2007)
Level:  Intermediate

Activity:  3017 views
Comments:  

Uniform Resource Identifiers (URIs) define a standard system for identifying resources on the Web, including HTML pages, XML documents, images, multimedia files, and more. Get to know how URIs, Uniform Resource Names (URNs), and URLs are related, discover the difference between absolute and relative URIs, and learn about Internationalized Resource Identifiers (IRIs), an enhanced version of URIs with better support for non-English speakers.

Uniform Resource Identifiers (URIs) are the standard mechanism for identifying resources on the Web, governed by RFC 3986: Uniform Resource Identifier Generic Syntax [IETF RFC]. A URI is an extension of the familiar URLs used in Web browsers and the like. All URLs are also URIs, but URIs also include URNs, governed by RFC 2141: Uniform Resource Names [IETF RFC]. URNs are a way to identify Web resources by name rather than location. URIs are generally used in XML core specifications as system identifiers, which specify a concrete resource, such as a file, referenced from an XML document. In XML, the concept of absolute and relative URIs is extremely important. If you imagine browsing the Web and that the current Web page is the starting point for a request for the next page, an absolute URI identifies the same new resource regardless of the starting point, while a relative URI identifies a new resource that depends on the starting point.

RFC 3987: Internationalized Resource Identifiers (IRIs) [IETF RFC] are just like URIs except that they can use the whole range of Unicode characters. URIs are limited to the ASCII subset of characters -- only 127 characters based on the needs of English-speaking users -- and this causes much difficulty for non-English users. An IRI has a standard encoding as a URI, in case you need to use it in a protocol (such as HTTP) that accepts only URIs.


Resources

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=193487
SummaryTitle=Uniform Resource Identifiers (URIs) and Internationalized Resource Identifiers (IRIs)
publish-date=04252007