w3c / wpub-ann

Web Annotation Extensions for Web Publications
https://w3c.github.io/wpub-ann/
Other
6 stars 10 forks source link

Do we need the intermediate selectors for SpanSelector? #28

Open iherman opened 6 years ago

iherman commented 6 years ago

The current design requires an explicit list of selectors for the "intermediate" resources. This is to avoid making the selection dependent on an implicit reading order for a Web Publication. Is that the right choice? It would indeed simplify to rely on implicit order, but there are quite some discussions in the WG whether that is a viable assumption...

tcole3 commented 6 years ago

Given the dependency on reading order, of which there may be more than one, I think you do need to explicitly enumerate the intermediate members of the selection. See also #25 discussion.

Treora commented 6 years ago

From #10:

As for extending RangeSelector, I don't see the necessity of adding a field intermediateSelectors, but maybe I have not understood the problem. I would expect that the resources embedded in the publication, between the resources of the start and end selector, would all be selected as a whole, no?

You would expect this, wouldn't you? However, that presupposes that a Web Publication always has a default reading order. But there has been quote some discussions on whether that is true or not, hence the design that does not rely on any implicit order.

My simple reasoning: if the document type (or document+selector type?) does not define a linear order (or at least a clear definition of 'between'), simply do not use a RangeSelector. Instead, use whatever solution is concocted for a multi-selector (#26).

In a WebPublication you may want the first and last of the multi-selected subresources to be refinedBy an open-ended RangeSelector (that may need spec'ing..) that selects content inside the subresource.

iherman commented 6 years ago

My simple reasoning: if the document type (or document+selector type?) does not define a linear order (or at least a clear definition of 'between'), simply do not use a RangeSelector. Instead, use whatever solution is concocted for a multi-selector (#26).

That makes sense, but what if there are several orders for the same content? A textbook to be read in one way by beginners and another way by experts? How does one choose?

Anyway. I think that we should receive real use cases. I will certainly not lie down the road of removing the intermediate resource list:-)

Treora commented 6 years ago

That makes sense, but what if there are several orders for the same content? A textbook to be read in one way by beginners and another way by experts? How does one choose?

Give each a URL? :)

tcole3 commented 6 years ago

Retitled in anticipation of merging PR #31.