7.1. URIs

A Uniform Resource Identifier [RFC 2396] is the fundamental way to name or locate something in the World Wide Web. Formally, URIs represent the union of Uniform Resource Locators and Uniform Resource Names [RFC 2141].

7.1.1. URI Syntax

The most general syntax for a URI is

							Scheme ":" scheme-specific-part
						

If the scheme-specific-part starts with a double slash (“//”), the URI is called a “generic URI.” In this case, a specific substructure to the scheme-specific-part is implied as follows:

							Scheme "://" authority
							path [ "?" query ]

Here square brackets surround the optional parts, italics indicate variables, and quoted text indicates fixed characters.

The scheme name is case independent and must start with a letter. The remainder of ...

Get Secure XML: The New Syntax for Signatures and Encryption now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.