[url] Rename the non-relative flag to non-hierarchical? (#94)

The term *relative* has a different meaning in *a relative URL* (a string that needs a base URL to be parsed successfully) and *an URL’s non-relative flag* (which indicates it can not meaningfully be used as a base URL). For example, `http://whatwg.org` is not a relative URL, but it is not non-relative either (its non-relative flag is unset).

To reduce term overloading, the non-relative flag (and non-relative path state) could be renamed to something else. Maybe *non-hierarchical*? Or just *hierarchical* and flip the logic. It’s annoying to type and pronounce, but RFC 3986 seems to be using hierarchical for roughly this concept.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/94

Received on Friday, 19 February 2016 19:33:58 UTC