Re: [whatwg/url] Explain how syntax relates to the parser for hosts and URLs (#228)

> A sibling section to "Parsers" doesn't really work since syntax doesn't require infrastructure. A "syntax violation" is really a parser concept since only the parser calls them out.

Maybe renaming "Infrastructure" to "Shared concepts" then. I disagree that "syntax violation" is a parser concept; it's detected during the course of parsing, but it's much more interesting in the context of conformance checking, and the fact that conformance checking reuses the parser infrastructure is almost incidental. You could imagine a world where conformance checking uses a grammar instead, for example.

> I'm not entirely convinced the confusion is as widespread as it's made to appear. There are indeed a couple of folks with a shared background who are confused, but we've had that with HTML as well and as time passed those objections passed.

I don't think the confusion has passed for HTML over time. We see implementers unaware of the difference on almost a weekly basis. To me anything we can do to make it more explicit helps the situation.

Anyway, it's fine if you don't want to change much; what's in this PR is already an improvement and we shouldn't block it.

-- 
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/pull/228#issuecomment-278353223

Received on Wednesday, 8 February 2017 15:06:02 UTC