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

Re: [web-annotation] Functionality: XPath Range Selector

From: Randall Leeds via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Nov 2015 23:23:03 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-153521401-1446592982-sysbot+gh@w3.org>
"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."

Is that not a use case? Selecting text within a block such that 
differences in Text Node slicing and inline Elements don't break the 
selector?

-- 
GitHub Notif of comment by tilgovi
See 
https://github.com/w3c/web-annotation/issues/95#issuecomment-153521401
Received on Tuesday, 3 November 2015 23:23:04 UTC

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