Re: Tombstones and Link Extensions

Alistair Miles <alimanfoo@googlemail.com> Wed, 10 November 2010 11:43 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 23F293A69EF for <ietfarch-atompub-archive@core3.amsl.com>; Wed, 10 Nov 2010 03:43:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.487
X-Spam-Level:
X-Spam-Status: No, score=0.487 tagged_above=-999 required=5 tests=[AWL=-0.467, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_22=0.6, J_CHICKENPOX_27=0.6, J_CHICKENPOX_45=0.6, J_CHICKENPOX_46=0.6, J_CHICKENPOX_48=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 YXcGnArS0nRE for <ietfarch-atompub-archive@core3.amsl.com>; Wed, 10 Nov 2010 03:43:28 -0800 (PST)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 7B0213A6866 for <atompub-archive@ietf.org>; Wed, 10 Nov 2010 03:43:28 -0800 (PST)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id oAABZixW028279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Nov 2010 04:35:44 -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 oAABZiV8028278; Wed, 10 Nov 2010 04:35:44 -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 oAABZh0Z028271 for <atom-syntax@imc.org>; Wed, 10 Nov 2010 04:35:44 -0700 (MST) (envelope-from alimanfoo@googlemail.com)
Received: by fxm19 with SMTP id 19so266524fxm.16 for <atom-syntax@imc.org>; Wed, 10 Nov 2010 03:35:42 -0800 (PST)
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:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=M/fyY/g0TuQkrI2JfgCbeEKmP5EUwDD1sCvmTuw7XMs=; b=wWmmcqt0QG8G0rLc/nz3vnssVJq2Lc/vtOuWvXgT9UbPDoO+fOtJXfoZsWyodbWdyV xpA9jaqcydynjYr0GTKESWasuZCBG3gfm7wRG1BPqEe7JSVK7pXFZiSWHTR0aXqr+Uxd mW5joAMwBx+MhUy3FwsGgLyQvTpSLv4AgBQ4Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=O9ovSKp+nHN38t5xYwJsWtjZZy5TlI0dO1NC67Q5xAPal8IJU2XcfOUk0WlDJqsLKd 5t05QzHcKTq6noac3a8rB7XnkxFvSCwGIXuQVYE+hkuRE/PAfXRkXFy+oRdpQY/fbSQz XefQV8BarvuV3f4s27LSnrFcAEey/EVESttno=
Received: by 10.204.54.6 with SMTP id o6mr7873957bkg.54.1289388940887; Wed, 10 Nov 2010 03:35:40 -0800 (PST)
Received: from aliman-desktop (dhcp594.well.ox.ac.uk [129.67.46.181]) by mx.google.com with ESMTPS id j8sm237452fah.30.2010.11.10.03.35.39 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 03:35:40 -0800 (PST)
Date: Wed, 10 Nov 2010 11:35:37 +0000
From: Alistair Miles <alimanfoo@googlemail.com>
To: James Snell <jasnell@gmail.com>
Cc: Atom-Syntax <atom-syntax@imc.org>
Subject: Re: Tombstones and Link Extensions
Message-ID: <20101110113537.GB4316@aliman-desktop>
References: <AANLkTikwt6o9U0oye0H9jku4O62Ue7sJSV1HrOgz5FGB@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <AANLkTikwt6o9U0oye0H9jku4O62Ue7sJSV1HrOgz5FGB@mail.gmail.com>
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 James,

On Tue, Nov 09, 2010 at 12:48:04PM -0800, James Snell wrote:
> Ok, so the Atom Tombstones [1] draft, at this point, is definitely complete.
> I decided to wait a while before advancing it to see if any further comments
> would come in. I know there are some implementations already and no major
> issues have come up so I'm ready to push that forward to get an RFC # for
> it.

In [1] I mentioned that we have a need to include some metadata elements from
the original atom entry within the deleted entry, in particular atom:title,
atom:author and atom:publised, but that this is prohibited by the content
model for the at:deleted-entry element, so we invented an extension element
in our own namespace for this (see [2]).

If no-one else has this requirement then fine, but I would have thought there
would be quite a few situations where an application would want to present
a list of deleted entries to a user and show more than just @ref @when and
at:by - pretty much every situation in which a person wants to look at a
list of deleted entries.

I would much rather avoid a custom extension element and instead make the
content-model for at:deleted-entry more permissive, e.g.:

     deletedEntry = element at:deleted-entry {
       atomCommonAttributes,
       attribute ref { atomUri },
       attribute when { atomDateConstruct },
       ( element at:by { atomPersonConstruct }?
       & element at:comment { atomTextConstruct }?
       & atomAuthor*
       & atomCategory*
       & atomContent?
       & atomContributor*
       & atomId?
       & atomLink*
       & atomPublished?
       & atomRights?
       & atomSource?
       & atomSummary?
       & atomTitle?
       & extensionElement*)
     }

An implementation would then be free to include as little or as many of these
additional elements within a deleted entry as required. A client consuming
a feed with deleted entries could choose to render this information if present.

Again, if no-one else sees this as an issue then fine, but I do think there
is a potential interoperability issue here that should be at least commented
on prior to RFC.

Apologies if I've missed anything relevant in previous discussions.

Cheers

Alistair

[1] http://www.imc.org/atom-syntax/mail-archive/msg21574.html
[2] http://code.google.com/p/atombeat/wiki/TombstonesDesign#Configuring_Ghosts

-- 
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