This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26205 - Hard to read definition: "A URL's fragment is either null or a string hol..."
Summary: Hard to read definition: "A URL's fragment is either null or a string hol..."
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-26 14:15 UTC by Daniel Bratell
Modified: 2014-06-27 12:06 UTC (History)
1 user (show)

See Also:


Attachments

Description Daniel Bratell 2014-06-26 14:15:45 UTC
http://url.spec.whatwg.org/#urls

[[
A URL's fragment
is either null or a string holding data that can be used for further processing on the
resource the remainder of the URL identifies.
]]

This definition is a bit cyclic. You have to know that the fragment and "the remainder of the URL" are referring to the same thing.

I think deleting the last part would make it less confusing:

------8<-----
A URL's fragment is either null or a string holding data that can be used for further processing on the resource.
------>8------

For an example of where the fragment identifier isn't just an id, you can see SVG where it's a small language of itself, letting you clip and scale the image.
Comment 1 Anne 2014-06-26 17:05:36 UTC
Remainder of the URL is actually meant to refer to the part that is not the fragment. As that bit identifies a resource, not the fragment.
Comment 2 Anne 2014-06-26 17:06:45 UTC
Maybe I should just drop "the remainder of", although it's a tad less specific.