Re: [whatwg/url] URN validity as a valid URL string (Issue #868)

domenic left a comment (whatwg/url#868)

> * the test of "does not start with: a URL-scheme string, followed by U+003A (:)"

This test applies to `9780307476463`, not the whole URL.

Remember that the sub-definition of "absolute-URL string" that you're looking at is:

> a [URL-scheme string](https://url.spec.whatwg.org/#url-scheme-string) that is not an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for a [special scheme](https://url.spec.whatwg.org/#special-scheme), followed by U+003A (:) and a [relative-URL string](https://url.spec.whatwg.org/#relative-url-string)

So we've already accounted for `isbn:`, and now we're looking at whether what remains (`9780307476463`) matches "relative-URL string".

I'll close this since I'm pretty sure the spec is fine here, but happy to continue discussing and reopen if I've missed something.

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

Message ID: <whatwg/url/issues/868/2765042036@github.com>

Received on Monday, 31 March 2025 04:02:54 UTC