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

Re: [web-annotation] XPath Range Selector

From: Randall Leeds via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Nov 2015 23:45:36 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-154234183-1446767136-sysbot+gh@w3.org>
You're right.

I had similar concern that these are valid XPath expressions but they 
are not location paths and they evaluate to strings, not node sets.

I don't think there is any path expression that selects characters. 
That's outside of the XPath model, and into XPointer territory.

A generic range with two boundaries, each an XPath subSelector 
TextPosition, still seems like a correct description of a text 
selection to me.

GitHub Notif of comment by tilgovi
Received on Thursday, 5 November 2015 23:45:38 UTC

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