comments on draft-snell-atompub-tombstones-11

Alistair Miles <alimanfoo@googlemail.com> Wed, 20 October 2010 11:27 UTC

Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@core3.amsl.com
Delivered-To: ietfarch-atompub-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E5033A67B6 for <ietfarch-atompub-archive@core3.amsl.com>; Wed, 20 Oct 2010 04:27:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.954
X-Spam-Level: **
X-Spam-Status: No, score=2.954 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_44=0.6, J_CHICKENPOX_45=0.6, J_CHICKENPOX_46=0.6, J_CHICKENPOX_47=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A6nwtI3l4qeW for <ietfarch-atompub-archive@core3.amsl.com>; Wed, 20 Oct 2010 04:27:56 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id C73653A67D4 for <atompub-archive@ietf.org>; Wed, 20 Oct 2010 04:27:54 -0700 (PDT)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o9KBN4dH054792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Oct 2010 04:23:04 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by hoffman.proper.com (8.14.4/8.13.5/Submit) id o9KBN4m2054791; Wed, 20 Oct 2010 04:23:04 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: hoffman.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from mail-fx0-f43.google.com (mail-fx0-f43.google.com [209.85.161.43]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o9KBN22a054786 for <atom-syntax@imc.org>; Wed, 20 Oct 2010 04:23:03 -0700 (MST) (envelope-from alimanfoo@googlemail.com)
Received: by fxm10 with SMTP id 10so2620782fxm.16 for <atom-syntax@imc.org>; Wed, 20 Oct 2010 04:23:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=7LKKGnFuUxcXVfa9qwILaZBDSg79expNRJ5d10nmXjs=; b=HJiC2mfaShOu/6DoNX3A3zXK4PxCkZjWdPfe7beoFQn8d4d+MPVdvsGzN3K//mFMob AmqD2/WNPmZBF5IMDkrNjAd8hHcFrDei+nqZdXBB1kkjw3lnutssCwUGGjAEDIMpfZr5 ehnmT0tf+Yo5PqXFaPij1836kQp5xIdOskVRA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=cjb1EnECFxYIUq37OkzRSrcYuQtlyNMcx9N+MUmd14mIqYx/QQ5PJVFFrQ88BHQ3pK HJ8vMteI0zSm38zf12rkcyYogLvWNgssYdYV8+mIt9S3w+HgDpQ31KdeupHdk1FHR/OW PBsu04ITIrncqCrVQFEP9p46HcuUCFB/TCMdI=
Received: by 10.103.220.20 with SMTP id x20mr2877977muq.79.1287573780235; Wed, 20 Oct 2010 04:23:00 -0700 (PDT)
Received: from aliman-desktop (dhcp252.well.ox.ac.uk [129.67.45.95]) by mx.google.com with ESMTPS id u8sm28976fah.36.2010.10.20.04.22.58 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 04:22:59 -0700 (PDT)
Date: Wed, 20 Oct 2010 12:22:57 +0100
From: Alistair Miles <alimanfoo@googlemail.com>
To: atom-syntax@imc.org
Cc: ian.wright@well.ox.ac.uk
Subject: comments on draft-snell-atompub-tombstones-11
Message-ID: <20101020112256.GB3249@aliman-desktop>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: owner-atom-syntax@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/atom-syntax/mail-archive/>
List-Unsubscribe: <mailto:atom-syntax-request@imc.org?body=unsubscribe>
List-ID: <atom-syntax.imc.org>

Hi all,

We're looking at implementing tombstones as part of work on scientific
data repositories at the University of Oxford. We have a couple of
comments/questions on the most recent draft [1] and would be grateful to
hear suggestions/recommendations from others.

(1) For a collection where tombstones are enabled, if I delete a member,
then issue a subsequent GET to the member URI, what should the (a) status
code and (b) response body be?

E.g., would it be best practice to respond with a 410 Gone and send the
<at:deleted-entry> as the response body?

(2) We have a situation where some media resources need to be deleted from
a collection. We want to be able to present a list of media resources in
the collection to the user, providing at least the title and author of each
media resource and the datetime published, and showing whether the resource
is available or has been deleted - this means that users will be able to
recognise which resources have been deleted.

An atom feed containing both atom:entry and at:deleted-entry elements
seems like a good way of representing the data, but as I understand it, the
content model for at:deleted-entry allows only atom:link, atom:source and
(non-atom-ns) extension elements.

Why not loosen the content model for at:deleted-entry to allow atom:title,
atom:summary, atom:author, atom:published ... i.e., all potentially useful
metadata elements from the now-deleted atom:entry. It is then up to the
implementation to decide which of these it will include/reveal in the deleted
entry. (An implementation might even choose to make it configurable on a
per-collection basis, e.g., where some collections have more sensitive data
than others.)

As it is, it looks like we would have to invent our own extension element
to contain these other atom elements, but it would be a shame if others have
the same requirement and we all end up inventing our own extension.

Best wishes,

Alistair

[1] http://tools.ietf.org/html/draft-snell-atompub-tombstones-11

-- 
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health <http://cggh.org>
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Web: http://purl.org/net/aliman
Email: alimanfoo@gmail.com
Tel: +44 (0)1865 287669