Re: [whatwg/url] invalid-reverse-solidus error definition has character mixed up. (Issue #772)

Yes was talking about [https://url.spec.whatwg.org/#invalid-reverse-solidus](https://url.spec.whatwg.org/#invalid-reverse-solidus)  thank you for looking at this.

The part I had trouble understanding is the description sentence above the example.
The description text reads 

> "The URL has a special scheme and it uses U+005C (\) instead of U+002F (/)."

The way I have read and interpreted this when first reading this is that the sentence is making a statement, about how the URL should be written to avoid this error, but I think the sentence is actually trying to make a positive statement to describe the error condition.

I've re-read this table several times and I think the other items in the table are easier to understand because they use words or prases like, "exceeds", "improper", "too many", "too few", "too big", "invalid" that make it clear that the statement is describing an error state. 

I think if the sentence was written more like  the desciption for [https://url.spec.whatwg.org/#example-host-missing](https://url.spec.whatwg.org/#example-host-missing)  and used "but" instead of "and" that would make it easier to understood the statment was describing the error condition if someone is jumping directly to that description.
For example if it was written like this 

> "The URL has a special scheme, but has used U+005C (\) in the place of U+002F (/)."








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

Message ID: <whatwg/url/issues/772/1574982940@github.com>

Received on Saturday, 3 June 2023 14:19:17 UTC