- From: Randall Leeds via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Nov 2015 23:10:34 +0000
- To: public-annotation@w3.org
Hypothesis exemplifies this use case every day. Its XPath Range selector has boundaries defined by both XPath to a node and text offset within that node. That the XPath selects an Element and the offset a text position accounts for the unpredictability of the slicing of Text Nodes and the possible presence of other highlight spans. Arguably, an even better implementation would ignore all inline phrasing Elements and measure text offset from the beginning of the block. Not letting each boundary be specified further than an XPath string effectively makes this selector unsuitable for use in Hypothesis. -- GitHub Notif of comment by tilgovi See https://github.com/w3c/web-annotation/issues/95#issuecomment-153518000
Received on Tuesday, 3 November 2015 23:10:36 UTC