Re: [whatwg/url] It's not immediately clear that "URL syntax" and "URL parser" conflict (#118)

The URL spec is about the construction of a valid, bona fide URL. It also says something like "a URL is composed of ASCII characters". Turns out, if you venture out beyond the English web, you'll find things like `<a href="http://facebook.com/fútbol">` in just raw UTF-8. You will also find `http:///facebook.com/fútbol`

The URL parsing spec is about the ability to handle these URLs that are found naturally in the wild that do not conform to any stricter URL specification. To create a URL, read the RFC. To parse a URL, read the URL parsing spec.

-- 
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/118#issuecomment-276102116

Received on Monday, 30 January 2017 16:01:18 UTC