- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 08 May 2020 13:05:53 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/url/pull/502/c625995146@github.com>
This looks amazing! Giving my opinions on some of your questions, but you should probably wait for @annevk before acting on them: > Would there by value in adding a column indicating whether the validation error can cause the parser to fail? IMO yes. I'm thinking a "Fatal" column which is either empty or one of the unicode checkmarks. > I am considering adding example input that would trigger each validation error. Is this something you think would have value? IMO yes. Doing so in a way that makes things non-overwhelming might be a bit tricky. E.g. I think another column would probably not work well. Maybe a second row (making each error code `rowspan="2") with `class="example"`, similar to https://html.spec.whatwg.org/#usage-summary-2 ? Or maybe just putting in `<p class="example">` wouldn't be so bad. Relatedly, although I imagine you are following the pattern from HTML, maybe the descriptions could be tightened up by removing "This error occurs when". > I wasn't sure how best to link the validation errors in each spot, I like what you did. It provides a convenient link to the concept of validation error, which is important as people can be confused by parse error vs. validation error. -- 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/502#issuecomment-625995146
Received on Friday, 8 May 2020 20:06:05 UTC