![]() | Uniform Resource Identifier was one of the Engineering and technology good articles, but it has been removed from the list. There are suggestions below for improving the article to meet the good article criteria. Once these issues have been addressed, the article can be renominated. Editors may also seek a reassessment of the decision if they believe there was a mistake. | ||||||||||||
| |||||||||||||
Current status: Delisted good article |
![]() | This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
![]() | Text and/or other creative content from this version of URI scheme was copied or moved into Uniform Resource Identifier with this edit. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
|
||
The syntax diagram added to the section General syntax, Definition was generated by the Railroad Diagram Generator using the following code:
URI ::= 'scheme' ':' ('//' (userinfo '@')? host (':' port)?)? path ('?' query)? ('#' fragment)?
based on the code in the two boxes above it.
--Ennex2 (talk) 14:46, 21 September 2018 (UTC)
Suggest URI resolution redirect here. — Preceding unsigned comment added by 96.40.48.159 (talk) 11:00, 2 July 2020 (UTC)
Shouldn't we changes the syntax diagram? For relative URIs the scheme part is optional.
I mean "img/button.jpg" is a valid (relative) URI.
Something like:
URI ::= ('scheme' ':')? ('//' (userinfo '@')? host (':' port)?)? path ('?' query)? ('#' fragment)?
If the scheme is absent, the first path segment is not allowed to contain a ":" — Preceding unsigned comment added by Grandswiss (talk • contribs) 11:02, 20 August 2020 (UTC)
based on the https://datatracker.ietf.org/doc/html/rfc3986#section-3.2 :
The authority component is preceded by a double slash ("//") and is terminated by the next slash ("/"), question mark ("?"), or number sign ("#") character, or by the end of the URI.
However a path dosen't have to start with "/".
I feel that the article diagram is misleading and suggest that / isn't a must between the authority and path. Also part of the misleading is that according to the diagram path must be included but it can be empty.
suggested solution: change the diagram to something like:
URI ::= 'scheme' ':' ('//' (userinfo '@')? host (':' port)? ('/' path)? | path) ('?' query)? ('#' fragment)?
Or maybe add a clarification in the paragraphs after the scheme. — Preceding unsigned comment added by Avizipi (talk • contribs) 07:31, 16 June 2021 (UTC)
Usually when I see tags on articles like this that say "this may be too technical" I roll my eyes and think "this is a technical topic, what do you expect?" but the whole section on the syntax of URIs seems to be really gory detail. I work with URIs (actually IRIs now which is the more recent term but essentially the same thing) every day and I've never gotten into that kind of detail. I haven't read the section carefully but my initial reaction was is it even necessary to get into that much detail? That kind of detail seems more relevant to a wikibook or blog not an encyclopedia that is for a general audience. I'm going to look at the whole article in more detail and try to address some of the tags but I just wanted to see if other people had opinions on that syntax section, if it should even be kept? --MadScientistX11 (talk) 20:28, 5 December 2020 (UTC)
I rewrote the intro to hopefully make it more understandable to a non-technical audience and to use a 3rd party reference. Here is the original text that I replaced:
A Uniform Resource Identifier (URI) is a string of characters that unambiguously identifies a particular resource. To guarantee uniformity, all URIs follow a predefined set of syntax rules,[1] but also maintain extensibility through a separately defined hierarchical naming scheme (e.g.
http://
). Such identification enables interaction with representations of the resource over a network, typically the World Wide Web, using specific protocols. Schemes specifying a concrete syntax and associated protocols define each URI. The most common form of URI is the Uniform Resource Locator (URL), frequently referred to informally as a web address. More rarely seen in usage is the Uniform Resource Name (URN), which was designed to complement URLs by providing a mechanism for the identification of resources in particular namespaces.
Currently all the references (except a couple of new ones I added) redirect to citations in the Further Reading section. I think this is confusing to the user and not the standard behavior I've seen in articles. Especially since IMO many of the citations in the Further Reading section don't meet the criteria for that section although they do meet the criteria for reference of specific points. So I'm converting the references to traditional citations with the citation in the Reference section and I'm deleting the ref from the Further Reading section unless I think it really merits inclusion, e.g., is some classic book or article on the topic. --MadScientistX11 (talk) 00:13, 6 December 2020 (UTC)
Readers of this page may be interested in thw following discussion:
--Guy Macon (talk) 22:37, 1 June 2021 (UTC)
This page cannot be properly rendered with Parsoid, particularly in the 'Example URIs' section. Plantaest (talk) 18:39, 3 June 2024 (UTC)