Re: [Sip] Possible semantic confusion w/ bodies in subscribes

Jari Urpalainen <jari.urpalainen@nokia.com> Thu, 10 July 2008 08:27 UTC

Return-Path: <sip-bounces@ietf.org>
X-Original-To: sip-archive@optimus.ietf.org
Delivered-To: ietfarch-sip-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 799103A69DB; Thu, 10 Jul 2008 01:27:54 -0700 (PDT)
X-Original-To: sip@core3.amsl.com
Delivered-To: sip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 92E9A3A69D8 for <sip@core3.amsl.com>; Thu, 10 Jul 2008 01:27:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 u2radeqY2vRL for <sip@core3.amsl.com>; Thu, 10 Jul 2008 01:27:52 -0700 (PDT)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 540163A69C1 for <sip@ietf.org>; Thu, 10 Jul 2008 01:27:52 -0700 (PDT)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id m6A8RF2G022451; Thu, 10 Jul 2008 11:27:38 +0300
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Jul 2008 11:27:28 +0300
Received: from vaebe104.NOE.Nokia.com ([10.160.244.59]) by vaebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Jul 2008 11:27:24 +0300
Received: from [172.21.41.143] ([172.21.41.143]) by vaebe104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Jul 2008 11:27:24 +0300
Message-ID: <4875C785.70606@nokia.com>
Date: Thu, 10 Jul 2008 11:25:41 +0300
From: Jari Urpalainen <jari.urpalainen@nokia.com>
User-Agent: Thunderbird 2.0.0.14 (X11/20080505)
MIME-Version: 1.0
To: ext Adam Roach <adam@nostrum.com>
References: <4E79ABB2-D399-4507-991D-6AB9660A3AC8@nostrum.com> <486BC00B.1000700@nostrum.com>
In-Reply-To: <486BC00B.1000700@nostrum.com>
X-OriginalArrivalTime: 10 Jul 2008 08:27:24.0417 (UTC) FILETIME=[C7A65F10:01C8E266]
X-Nokia-AV: Clean
Cc: "SIP@ietf.org List" <sip@ietf.org>, Adam Roach <adam@estacado.net>
Subject: Re: [Sip] Possible semantic confusion w/ bodies in subscribes
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: sip-bounces@ietf.org
Errors-To: sip-bounces@ietf.org

ext Adam Roach wrote:
> On 6/30/08 1:15 PM, Robert Sparks wrote:
>> All (but particularly Jari and Adam) :
>>
>> What does the body of a request mean if you get a SUBSCRIBE to the 
>> "xcap-diff" event, and that subscribe
>> contains a Require: recipient-list-subscribe ?
>>
>> I think we may have created some ambiguity here. If I'm wrong and 
>> it's clear, where is it captured in the documents? 
>
> This line of questioning actually touches on two different issues -- 
> disambiguation between the bodies of ad-hoc subscriptions and XCAP 
> diff subscriptions, and conveying XCAP diff subscriptions in ad-hoc 
> lists. In response to Robert's query, I'm proposing a set of actions 
> to address both cases.
>
>   1. The draft-ietf-sipping-uri-services document (which forms the
>      basis for the ad-hoc SUBSCRIBE list usage Robert is referring to
>      above) includes a Content-Disposition field that must be set to
>      "recipient-list" for the various ad-hoc list uses. This should be
>      sufficient to disambiguate between ad-hoc list usage and XCAP diff
>      subscriptions.
>
>          * For the purpose of clarity (and, coincidentally, to address
>            an IESG comment), we will be updating the definition of the 
>            "recipient-list" content disposition to read: "The body
>            contains a list of URIs to which URI-List Services are to be
>            applied."
>
>          * For additional clarity and some level of consistency, I
>            would *STRONGLY* recommend that the XCAP diff event package
>            define a "Content-Disposition" field specific to its use of
>            the "application/resource-lists+xml" MIME type.
I'll disagree here, why would  xcap-diff need Content-Disposition header 
? There's no ambiguity here since the "recipient-list" uniquely selects 
the right body from the uri-list-services multipart subscription. I 
think it has been made quite clear in the xcap-diff event i-d that it 
describes the very basic stuff (which is indeed quite complex already), 
so if there's need for some more, they can be added in extension specs, 
but imo this doesn't need any additional information.
>
>   2. Although this answer ("use Content-Disposition") addresses the
>      ambiguity that Robert had been worried about, it doesn't address
>      the implied question about how one combines ad-hoc list usage with
>      XCAP diff subscriptions. In fact, this can be generalized to:
>      "when using ad-hoc list subscriptions, how does one convey the
>      information that would usually go in the SUBSCRIBE bodies?" This
>      is something we didn't actually consider in
>      draft-ietf-sip-uri-list-subscribe. To address this issue, I have
>      put together a proposal for conveying this information in ad-hoc
>      list subscriptions:
>
>            
> <http://www.ietf.org/internet-drafts/draft-roach-sip-list-subscribe-bodies-00.txt> 
>
>
> Comments on the proposed solutions -- and the draft in particular -- 
> are appreciated.
>
> /a
> _______________________________________________
I'm basically fine with the i-d proposal although there are indeed quite 
many obstacles before it can be utilized in real-life: e.g. credential 
distributions, how to do conditional subscriptions, diff-processing 
changes may cause a lot of unnecessary traffic, and you really need not 
to loose any events etc. So all of this needs probably some 
explanation... So personally i don't see much benefit of implementing 
this for xcap-diff.

I'll have some editorial comments though, first remove all following 
declarations
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" from any example 
xml documents.

Regarding TODO note in 2.2: you can't really define that the cid 
attribute concerns the <entry> element, it is something one of those 
annoying features of the schema tool, so basically the schema is fine, 
it defines a single _qualified_ attribute (one of those things that i 
personally really dislike, too much ugliness  with additional namespace 
declarations, but here it is required because of the chosen extension  
model of the resource-lists format)

br, Jari


_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip