URI: Difference between revisions
Jump to navigation
Jump to search
moving nonCOLLADA definition into here |
No edit summary |
||
Line 1: | Line 1: | ||
A ''' | A '''uniform resource identifier''' (URI) is a standard way of referencing elements, objects, files, and so on. | ||
The basic URI | The basic URI syntax is: | ||
''scheme''://''authority''/'' | ''scheme''://''authority''/''path''?''query''#''fragment'' | ||
URIs are either absolute or relative: | URIs are either absolute or relative: | ||
*An ''absolute URI'' contains a scheme and | *An ''absolute URI'' contains a scheme and a colon separator. | ||
*A ''relative URI'' is any URI that does not contain both a scheme and | *A ''relative URI'' is any URI that does not contain both a scheme and a colon separator. A relative URI can be a relative path, an absolute path, or just a fragment. | ||
The ''fragment'' portion references an element that can be found within the same document as the URI. An example of this: | The ''fragment'' portion references an element that can be found within the same document as the URI. An example of this: | ||
Line 16: | Line 16: | ||
==External links== | ==External links== | ||
* [http://en.wikipedia.org/wiki/Uniform_Resource_Identifier | * [http://gbiv.com/protocols/uri/rfc/rfc3986.html The URI spec] | ||
* [http://en.wikipedia.org/wiki/Uniform_Resource_Identifier URI article on Wikipedia] | |||
* [http://en.wikipedia.org/wiki/URI_scheme Discussion of URI file scheme] | * [http://en.wikipedia.org/wiki/URI_scheme Discussion of URI file scheme] | ||
[[Category:Terminology]] | [[Category:Terminology]] |
Revision as of 19:48, 25 May 2007
A uniform resource identifier (URI) is a standard way of referencing elements, objects, files, and so on.
The basic URI syntax is:
scheme://authority/path?query#fragment
URIs are either absolute or relative:
- An absolute URI contains a scheme and a colon separator.
- A relative URI is any URI that does not contain both a scheme and a colon separator. A relative URI can be a relative path, an absolute path, or just a fragment.
The fragment portion references an element that can be found within the same document as the URI. An example of this:
#redMaterial