Re: [whatwg/url] Add a neato informative table of various URL pieces (#337)

I have added syntax diagrams to the _Wikipedia_ pages on [URN](https://en.wikipedia.org/wiki/Uniform_Resource_Name#Syntax)s and [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Definition)s. Those diagrams are generated directly from the syntax code posted on those pages (which was there before). The portion of the URI article that includes that drawing is transcluded (automatically copied) to the page on [URL](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)s. That means that other people at _Wikipedia_ have decided that the syntax of URIs and URLs are the same. I don't know if that's correct or not.

There is a contradiction between the URI/URL diagram and the one I originally proposed [above](https://github.com/whatwg/url/issues/337#issuecomment-421627310). The diagram above shows the path as optional, but the syntax in _Wikipedia_ (based on [RFC 3896](https://tools.ietf.org/html/rfc3986#section-3)) shows it as required. So I suppose this is another error in that original diagram.

If either of those diagrams posted in _Wikipedia_ is incorrect, or if it is incorrect that URI and URL syntax are the same thing, then either feel free to edit the _Wikipedia_ pages or let me know what the problems are and I'll get them corrected.

The URI/URL syntax drawing does not have the level of detail in my original diagram or in [@rubys's diagrams](http://intertwingly.net/projects/pegurl/url.html#rule-url). I won't enhance the diagrams in _Wikipedia_ until a new diagram or diagrams have been vetted and approved here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/337#issuecomment-423605820

Received on Friday, 21 September 2018 17:02:07 UTC