Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the non-relative flag to non-hierarchical? #94

Closed
SimonSapin opened this issue Feb 19, 2016 · 2 comments
Closed

Rename the non-relative flag to non-hierarchical? #94

SimonSapin opened this issue Feb 19, 2016 · 2 comments

Comments

@SimonSapin
Copy link
Contributor

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.

@domenic
Copy link
Member

domenic commented Feb 19, 2016

See #89.

@SimonSapin
Copy link
Contributor Author

Ah! Glad I’m not the only one to think this is a problem (if a minor one). I’ll close this in favor of #89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants