Re: Link Extensions Draft Update

Alistair Miles <alimanfoo@googlemail.com> Thu, 03 February 2011 09:09 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 C28833A68BD for <ietfarch-atompub-archive@core3.amsl.com>; Thu, 3 Feb 2011 01:09:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.829
X-Spam-Level:
X-Spam-Status: No, score=-0.829 tagged_above=-999 required=5 tests=[AWL=0.317, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_47=0.6, MIME_8BIT_HEADER=0.3]
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 P2figCFIoMJo for <ietfarch-atompub-archive@core3.amsl.com>; Thu, 3 Feb 2011 01:09:50 -0800 (PST)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 7F8713A6879 for <atompub-archive@ietf.org>; Thu, 3 Feb 2011 01:09:44 -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 p1394TpQ039577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Feb 2011 02:04:29 -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 p1394TqD039576; Thu, 3 Feb 2011 02:04:29 -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 p1394R6Z039569 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for <atom-syntax@imc.org>; Thu, 3 Feb 2011 02:04:28 -0700 (MST) (envelope-from alimanfoo@googlemail.com)
Received: by fxm18 with SMTP id 18so959701fxm.16 for <atom-syntax@imc.org>; Thu, 03 Feb 2011 01:04:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=/AxiC6q4l5cp180XL4jUgRJqDTzRDf+Lfhk6pbYPM8k=; b=MQdwhIftPK0IZDvYRMBLAAJff3iqvyGHsnzP840XixpjiLq0S8trBy9u2oszweEh86 O2AzX59EMLXRjnW55+clH+m24kaiHo7GlH7xEA231QetVQoHLcgKgKEY22U1kz6rpEhc vzNX+EtoTuVYNHJ+LOYGHWzOLKvdFXTgsiHlg=
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:content-transfer-encoding :in-reply-to:user-agent; b=j0tHrN7Ebei5dbePpZwAu493icEEqi2fECic3ULHEe1ROxwS5zqYVRQ6s3zE2yCD5x 1ldQbpin66ZL4V5+W/gT/MKZUhsG8FieBtK9aKZpRUI7BB54mvXoQB0234VrPg+eDJs2 XD+JHspOwLsLGSHgGNbTJaMlgn1TSsHnZUElM=
Received: by 10.223.86.2 with SMTP id q2mr3704308fal.139.1296723866327; Thu, 03 Feb 2011 01:04:26 -0800 (PST)
Received: from skiathos (dhcp143.well.ox.ac.uk [129.67.44.242]) by mx.google.com with ESMTPS id e6sm161309fav.32.2011.02.03.01.04.23 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 01:04:24 -0800 (PST)
Date: Thu, 03 Feb 2011 09:04:20 +0000
From: Alistair Miles <alimanfoo@googlemail.com>
To: Niklas Lindström <lindstream@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, eric scheid <eric.scheid@ironclad.net.au>, Atom Syntax <atom-syntax@imc.org>
Subject: Re: Link Extensions Draft Update
Message-ID: <20110203090420.GA11097@skiathos>
References: <AANLkTinx5bDonajDzTYT4pelvsrOm70qcckjfccIc14C@mail.gmail.com> <C856A4F8.B562%eric.scheid@ironclad.net.au> <AANLkTikXwRwj4DAFHxnRAqZCLVvNN9NwwK7hebBaKcXP@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <AANLkTikXwRwj4DAFHxnRAqZCLVvNN9NwwK7hebBaKcXP@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,

I'm not sure what the status of the link extensions draft is, but if it's
helpful there's in implementation of the hash attribute using MD5 for
media-link entries in AtomBeat >0.2-alpha-3 [1], test case is at [2].

Cheers,

Alistair

[1] http://code.google.com/p/atombeat/wiki/ReleaseNotes#0.2-alpha-3
[2] http://code.google.com/p/atombeat/source/browse/trunk/parent/atombeat-integration-tests/src/test/java/org/atombeat/it/content/extended/TestMediaLinkExtensions.java

On Wed, Sep 29, 2010 at 01:47:39PM +0200, Niklas Lindström wrote:
> 
> Hi James!
> 
> It's been great to see this draft revitalized and progressing. I am
> certainly in favor of the non-namespaced attributes and the
> generalized "hash" approach.
> 
> I understand Eric's objection that "significant" may not always
> include hash changes, so changing that to a "MAY" sounds reasonable.
> (I have no concerns in general about specified significance, since we
> have very specific requirements on our publishers regarding both
> updated and hash. In our case, *any* change is significant, and we
> require hash values to be correct -- but since this is enforced at our
> own contract level, we don't need such requirements in the spec.)
> 
> I have two questions:
> 
> 1. I am a bit concerned about referencing a Candidate Rec (CSS3 Media
> Queries). Might that stall this from becoming an RFC? (In any case,
> the link in version 7 of this I-D is outdated, the current CSS3 Media
> Queries CR is from 27 July 2010.) If so, maybe it's better to split
> that part out?
> 
> 2. I wonder if you have an estimate on what's needed to get this to
> Last Call? I'd like to help as much as I can, but I don't really know
> how (apart from expressing my support on this list).
> 
> 
> Implementation-wise, I can donate any specific implementation code you
> need (at least in java), but probably won't have time to wrap up and
> publish a hosted source project (e.g. a properly packaged Abdera
> extension) anytime soon (although I can contribute to such if the
> infrastructure was in place).
> 
> (Background recap: we are using the hash mechanism in an egov project
> [1], and publishers are starting to implement it. We need to inform of
> the (hash attr) syntax changes to the publishers (less than 5 are
> currently implementing this, but some 95 more are to follow over the
> coming year(s)). Thus we really need to work to ensure the stability
> of the current syntax. We are certainly aware that it's not proper
> conduct to reference I-D:s, but have chosen to take the risk of
> changes in this case over inventing our own extension for such a
> generic thing as hash digests.)
> 
> 
> Thanks for your efforts!
> 
> Best regards,
> Niklas Lindström, Valtech
> 
> [1] The Swedish Legal Information System (Docs in swedish:
> <http://dev.lagrummet.se/dokumentation/>.)
> 
> 
> 
> On Sun, Jul 4, 2010 at 12:52 PM, eric scheid
> <eric.scheid@ironclad.net.au> wrote:
> >
> > On 1/7/10 4:32 AM, "James Snell" <jasnell@gmail.com> wrote:
> >
> >> http://www.ietf.org/internet-drafts/draft-snell-atompub-link-extensions-07.txt
> >>
> >> A few minor updates, and one significant update... the new requirement is that
> >> changes to the hash, etag, modified and accessed attributes MUST be considered
> >> to be "significant" with regards to the value of atom:updated. This is a
> >> requirement on the feed publisher.
> >
> > -1, sorry, can't agree with this
> >
> >   The "atom:updated" element is a Date construct indicating the most
> >   recent instant in time when an entry or feed was modified in a way
> >   the publisher considers significant.  Therefore, not all
> >   modifications necessarily result in a changed atom:updated value.
> >
> >   atomUpdated = element atom:updated { atomDateConstruct }
> >
> >   Publishers MAY change the value of this element over time.
> >
> > A minor and trivial change to a linked resource, eg. whitespace, could well
> > cause a change in (eg.) the hash, but that (usually) is not significant.
> >
> > Similarly a change in the 'accessed' attribute especially when the 'hash'
> > and 'etag' *didn't* change is pretty much the definition of not-significant.
> >
> > s/MUST/MAY/
> >
> >
> > e.
> 

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