Ticket #165 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

Apply xpointer annotations to articles and return intermediate XML

Reported by: amit Assigned to: pradeep
Priority: critical Milestone:
Component: topaz Version: 0.5-SNAPSHOT
Keywords: annotation xpointer engine Cc:
Blocking: Blocked By:

Description

Enhancement to the Annotation service to apply all associated annotations to an article and return the modified XML. The modifications essentially will place markers/tags within the XML indicating where the annotation is applicable

Dependency Graph

Change History

09/12/06 08:31:00 changed by pradeep

  • status changed from new to assigned.

09/18/06 01:55:03 changed by pradeep

(In [630]) DOM2 Range related helper classes. Mainly to support marking up a document with xpointer based annotations. Addresses #165. (Perhaps close this ticket)

See src/test/java/AnnotateExample.java for a markup example.

09/18/06 08:47:42 changed by pradeep

Reasons to embed this in Annotation service:

  1. Convenience. A single call does everything.

Reasons not to embed this in Annotation service:

  1. Lack of flexibility. (creates an XML doc with a pre-defined structure)
  2. Caching (Document annotated with annotations visible to a user is valid only for that user)
  3. Finer filtering (Application may want to filter out annotations based on state, public/private status etc. which the Annotation service is unaware of)
  4. xpointer and DOM2 ranges and traversal libraries are available in most languages. (ruby, python and javascript etc.) Therefore all that is needed is the algorithm from the dom-ranges-helper.jar It isn't that complicated.

So I vote for leaving it at this with the AnnotateExample.java acting as a start-point for PLoS.

09/21/06 00:09:23 changed by pradeep

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [663]) Wrap a modified version of AnnotateExample?.java from r630 inside the annotation service. See the javadoc on the getAnnotatedContent method in Annotations API for details. Closes #165.

10/29/07 21:13:03 changed by

  • milestone deleted.

Milestone september24 deleted