[annotator-dev] xpath-range with json annotation

Randall Leeds randall at bleeds.info
Mon Sep 19 21:04:54 UTC 2016

I'm sorry this follow up comes months late but I just addressed some
packaging issues with xpath-range last week and this may be fixed.

On Thu, Mar 17, 2016 at 11:14 AM Marija Katic <m.katic at bbk.ac.uk> wrote:

> Hi All,
> I am trying to use xpath-range, version 1.1.0, to get a Range object based
> on xpaths and offsets obtained through annotation format. Particularly, I
> am calling method:
> toRange(start, startOffset, end, endOffset, [root])
> However, it does not seem to work. It throws Type error: ""xpath is
> undefined".
> I have also tried to hard-code input values as well as to use
> document.evaluate on start and end expressions to check if they are null.
> Any help would be very appreciated!
> Thank you so much!!
> Kind regards,
> Maria
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20160919/dae6320e/attachment-0003.html>

More information about the annotator-dev mailing list