Re: New Version Notification for draft-mehta-atom-inline-00

"Nikunj R. Mehta" <nikunj.mehta@oracle.com> Wed, 10 June 2009 19:58 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 C46993A6BFA for <ietfarch-atompub-archive@core3.amsl.com>; Wed, 10 Jun 2009 12:58:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.831
X-Spam-Level:
X-Spam-Status: No, score=-4.831 tagged_above=-999 required=5 tests=[AWL=-0.633, BAYES_00=-2.599, J_CHICKENPOX_26=0.6, J_CHICKENPOX_44=0.6, J_CHICKENPOX_45=0.6, J_CHICKENPOX_47=0.6, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
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 GIXsvw5ctZrB for <ietfarch-atompub-archive@core3.amsl.com>; Wed, 10 Jun 2009 12:58:21 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 54BE13A6B4E for <atompub-archive@ietf.org>; Wed, 10 Jun 2009 12:58:21 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n5AJlK5b064843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Jun 2009 12:47:21 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n5AJlKba064842; Wed, 10 Jun 2009 12:47:20 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n5AJlJGl064836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <atom-syntax@imc.org>; Wed, 10 Jun 2009 12:47:20 -0700 (MST) (envelope-from nikunj.mehta@oracle.com)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5AJhVAe027717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <atom-syntax@imc.org>; Wed, 10 Jun 2009 19:43:32 GMT
Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5AJmOLf026981 for <atom-syntax@imc.org>; Wed, 10 Jun 2009 19:48:25 GMT
Received: from dhcp-4op5-4op6-west-144-25-174-134.usdhcp.oraclecorp.com (/144.25.174.134) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 10 Jun 2009 12:47:14 -0700
Message-Id: <B0B0620D-0440-4A15-8489-92939AC48508@oracle.com>
From: "Nikunj R. Mehta" <nikunj.mehta@oracle.com>
To: atom-syntax Syntax <atom-syntax@imc.org>
In-Reply-To: <4A3000DF.9050604@degeneration.co.uk>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: New Version Notification for draft-mehta-atom-inline-00
Date: Wed, 10 Jun 2009 12:45:52 -0700
References: <20090609233744.9A64B3A6A48@core3.amsl.com> <6B1A1BB7-5698-4852-8DE6-F2A06691624B@oracle.com> <4A3000DF.9050604@degeneration.co.uk>
X-Mailer: Apple Mail (2.935.3)
X-Source-IP: abhmt002.oracle.com [141.146.116.11]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090205.4A300DC4.006E:SCFSTAT5015188,ss=1,fgs=0
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>

On Jun 10, 2009, at 11:52 AM, Martin Atkins wrote:

>
> Nikunj R. Mehta wrote:
>> Based on feedback, I have split out the in-lining spec in to its  
>> own I-D. HTML: http://tools.ietf.org/html/draft-mehta-atom-inline-00
>> Text: http://tools.ietf.org/id/draft-mehta-atom-inline-00.txt
>> I am also tracking open issues about this I-D publicly at http://code.google.com/p/atom-ext/issues/list 
>> . The source for this I-D is also available, if you are interested.
>> Looking forward to comments on the I-D.
>
> Is it actually necessary to support inlining of resources other than  
> atom feeds and entries? It seems like this adds considerable  
> complexity where I'm not sure that there are compelling use-cases.

I am glad you are speaking up about this. The original proposal for in- 
lining as expressed in draft-divilly-atom-hierarchy-01 was rather  
modest and supported a rather simple use case.

However, per Mark Nottingham et al [1], the use of the ae:inline is  
held up as the right way of extending Atom. Plus, per James Snell [2],  
the inline content's media type is better gleaned from ae:inline@type  
attribute. Also, per Al Brown et al. [3] [4] [5], it was more  
important to ensure maximum flexibility than demonstrate specific use  
cases.

>
> Given how little success there has been with the complex content  
> model of the atom:content element in practice, it'd be my preference  
> to avoid over-thinking this and address only the specific use-case  
> of referencing other items that are themselves expressed as Atom.

I agree that the current model is super flexible, perhaps to the point  
of complicating even basic behavior. However, we need some consensus  
on the level of flexibility and cost we can agree to.

>
> In particular, I'm unsure as to what the meaning would be of the  
> following:
>
> <link rel="related" type="application/atom+xml" href="...">
>    <ah:inline type="text">Blah blah blah</ah:inline>
> </link>
>
> Is the text inside considered to be an alternate representation of  
> this resource? Should the content actually be the entity-encoded  
> XML? Is this invalid? The current draft seems to have no comment on  
> the matter.
>
> Restricting the problem to only inline feeds and entries also  
> theoretically allows the ah:inline element to be removed and the  
> atom:feed or atom:entry element given as a direct child of  
> atom:link, with the name of the element telling the processor  
> whether it's a feed or entry without the redundancy inherent in the  
> ah:inline type attribute.
>
>


[1] http://www.imc.org/atom-syntax/mail-archive/msg21053.html
[2] http://www.imc.org/atom-syntax/mail-archive/msg21084.html
[3] http://www.imc.org/atom-syntax/mail-archive/msg21088.html
[4] http://www.imc.org/atom-syntax/mail-archive/msg21096.html
[5] http://www.imc.org/atom-syntax/mail-archive/msg21121.html