[annotator-dev] validate annotation before store it

Riccardo Tasso riccardo.tasso at gmail.com
Thu May 29 07:41:13 UTC 2014


I found that's a bug introduced by an extension of mine, so there's no bug
in annotator. Anyway it's still interesting understand if it's possibile
validate an annotation before store it.

I tried returning false in the event "annotationCreated" but it doesn't
work.

Thanks,
   Riccardo


2014-05-29 8:37 GMT+02:00 Riccardo Tasso <riccardo.tasso at gmail.com>:

> Hi all, is there a way to check an annotation before it's send to the
> store?
> I mean, one of my users found a way (I don't know how) to insert an
> annotation whose begin is greater than end and I need to avoid the
> insertion of those kind of annotations.
>
> Cheers,
>     Riccardo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20140529/53ffbe91/attachment-0004.html>


More information about the annotator-dev mailing list