Re: [whatwg/url] Parser generates invalid URLs (#379)

> This is very different than HTML

No? It's very easy to produce invalid HTML, e.g., `<b><div>blah</div></b>`. It's also possible at the syntactic level through APIs. HTML is really quite a bit worse at this.

> I cannot see what purpose it serves to have tools call out such strings as invalid

It indicates that it might not interoperate to the fullest extent, admitting the reality that RFC 3986/7 and downstream consumers thereof exist. We could give that up and there are issues for tracking that already, e.g., #753, but that would be quite the change.

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

Message ID: <whatwg/url/issues/379/2513927252@github.com>

Received on Tuesday, 3 December 2024 09:04:44 UTC