W3C home > Mailing lists > Public > public-annotation@w3.org > July 2015

"Stacked" selectors?

From: Benjamin Young <bigbluehat@hypothes.is>
Date: Thu, 30 Jul 2015 17:24:59 -0400
Message-ID: <CAE3H5FLu_FwFokUM0E9FDkyU4LvANpfUf5JQ=ekOr81dpEHmiQ@mail.gmail.com>
To: W3C Public Annotation List <public-annotation@w3.org>
Right now, [Annotator](http://annotatorjs.org/) (for one) doesn't think
much outside of it's own world (at least not without plugins), so the
ranges it stores are specific to how a developer has connected it to the

It currently stores a relative XPath range to get to the DOM node, and then
a numeric text range for the actual selection within that DOM node.

If the parent of the XPath range (what Annotator is "attached" to) were
known, would it be possible to express this sort of combination of
selectors in a way that Web Annotation implementors could understand?

Is this an intended use of `oa:List`?

Developer Advocate
Received on Thursday, 30 July 2015 21:25:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:38 UTC