Re: [whatwg/url] Is failure ever not a syntax violation? (#219)

You said above that you think that it's a "syntax violation" when the canonicalized URL does not match the input. I gave a counter example where that should not be the case.

The URL Standard defines parsing and serialization, but it also defines valid URL strings. Whenever the parser parses something that is not a valid URL string, that's signified through a "validation error" (renamed recently from "syntax violation"). A couple reasons why we do that are outlined here: https://url.spec.whatwg.org/#writing.

-- 
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/219#issuecomment-279031343

Received on Friday, 10 February 2017 18:49:22 UTC