W3C home > Mailing lists > Public > www-annotation@w3.org > July to December 2002

Re: updating annotations

From: Charles McCathieNevile <charles@w3.org>
Date: Wed, 11 Dec 2002 14:08:22 -0500 (EST)
To: Doug Daniels <rainking@rice.edu>
cc: <www-annotation@w3.org>
Message-ID: <Pine.LNX.4.30.0212111405590.15814-100000@tux.w3.org>

In principle it seems to me that you should be able to PUT the updated
annotation information, with the reference to the text as given by a query
that would return the annotation.

As I read the protocol you SHOULD use PUT to update an annotation, only using
POST to have the server create one with new URIs for the annotation and its
body, although this isn't a MUST for some reason I don't understand that
comes out as "implementation magic".



On Wed, 11 Dec 2002, Doug Daniels wrote:

>I'd like to clarify something that the Annotea protocols are unclear on.
> Is it necessary to include the text for an annotation's body in the RDF
>sent to the server to update the annotation?
>Say you just want to update the type of an annotation, but not update the
>text in the body.  If updates require the body of the annotaton, then to
>update the just the type you must
>(1) GET the annotation
>(2) GET the body text from the url embedded in the annotation
>(3) POST the update, complete with the same body text
>However, if including the body in the update RDF was optional, then you
>could skip step 2.  This seems like a useful optimization to me.
>I was going to test an update w/o body information to see if it works on
>annotest.w3.org, but the server seems to be down.  So does anyone know
>offhand if the update w/o body will work?

Charles McCathieNevile  http://www.w3.org/People/Charles  tel: +61 409 134 136
SWAD-E http://www.w3.org/2001/sw/Europe ------------ WAI http://www.w3.org/WAI
 21 Mitchell street, FOOTSCRAY Vic 3011, Australia  fax(fr): +33 4 92 38 78 22
 W3C, 2004 Route des Lucioles, 06902 Sophia Antipolis Cedex, France
Received on Wednesday, 11 December 2002 14:08:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:55 UTC