#selector(type=TextQuoteSelector,exact=foo)
vs. #targetText=foo
/edited to be a more fair comparison #selector(type=TextQuoteSelector,exact=foo)
vs. #targetText=foo
/edited to be a more fair comparisonhttps://www.w3.org/TR/selectors-states/#TextQuoteSelector_de...
Please note that you've actually changed the example!
If you just want to include `exact` or "targetText", you can still do:
http://csarven.ca/dokieli-rww#selector(type=TextQuoteSelecto...
or equivalent:
http://csarven.ca/dokieli-rww#selector(type=TextQuoteSelecto...
but that selects all instances of the text "annotation" in the document. Which is precisely why we need `prefix` and `suffix` to be able to identify the actual selection that the user made.
So, here is the equivalent of your example:
http://csarven.ca/dokieli-rww#selector(type=TextQuoteSelecto...
I hope that clarifies.
This is just tip of the iceberg! Let's stick to fair comparison and consider extensibility.
Please have a closer into why we should be mindful of different use cases here, especially those pertaining to different resource representations, ways to "select", and factor in the state of the resource/representation at the time of the selection. It is there for use. It doesn't mean that all possible options needs to make its way into the identifier. This is important because people are going to use these identifiers in documents, and preserving context matters. Like I said earlier, the W3C Note has considered these, as well as permitting the use of different (RFC) selectors for different media. Let's reuse instead of NIH-FUD.
There then remains the question of cross-compatibility: do all relevant tools implement the same techniques? That is a legitimate concern, but it’s well-enough specced that it shouldn’t be a problem.
Also as noted, various tools out there already use this format. The Chrome team ignoring that and using their own, functionally inferior format is hostile.
There is a reason nobody implemented the W3C proposal, If I have the choice between a simple working solution that anyone can describe in a single sentence specification and a hundred page specification with tons of unneeded features that nobody is going to implement ever, I choose the former. I wonder how much hate Mozilla would've gotten for the same feature, probably none.