Re: [Sip] Draft ietf-sip-xcapevent revised, many open questions
"Anders Lindgren C" <anders.c.lindgren@ericsson.com> Thu, 28 May 2009 15:28 UTC
Return-Path: <anders.c.lindgren@ericsson.com>
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 CDE353A6D14 for <sip@core3.amsl.com>; Thu, 28 May 2009 08:28:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, 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 GjzGLhbJfCpZ for <sip@core3.amsl.com>; Thu, 28 May 2009 08:28:39 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 66F813A6B3C for <sip@ietf.org>; Thu, 28 May 2009 08:28:39 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b28ae000005484-f1-4a1eae0d746b
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 78.C6.21636.D0EAE1A4; Thu, 28 May 2009 17:30:21 +0200 (CEST)
Received: from esealmw107.eemea.ericsson.se ([153.88.200.70]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Thu, 28 May 2009 17:21:54 +0200
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 28 May 2009 15:26:54 +0200
Message-ID: <6D34F0B7D5BCB246A42380744457CA3605B837D6@esealmw107.eemea.ericsson.se>
In-Reply-To: <47F8D2FD-9081-4E9C-96B5-8400FD822477@estacado.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Sip] Draft ietf-sip-xcapevent revised, many open questions
Thread-Index: Acne4f/TR+EvwOx/TQ6rY7cUr+UrEAAqIITA
References: <656509D0-269E-48C4-BA76-0195E1A31B3C@softarmor.com> <47F8D2FD-9081-4E9C-96B5-8400FD822477@estacado.net>
From: Anders Lindgren C <anders.c.lindgren@ericsson.com>
To: Byron Campen <bcampen@estacado.net>, jari.urpalainen@nokia.com, Dean Willis <dean.willis@softarmor.com>
X-OriginalArrivalTime: 28 May 2009 15:21:54.0731 (UTC) FILETIME=[08869FB0:01C9DFA8]
X-Brightmail-Tracker: AAAAAA==
Cc: sip@ietf.org, Robert Sparks <rjs@nostrum.com>
Subject: Re: [Sip] Draft ietf-sip-xcapevent revised, many open questions
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-Archive: <http://www.ietf.org/mail-archive/web/sip>
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>
X-List-Received-Date: Thu, 28 May 2009 15:28:40 -0000
Hi Byron Some comments inline Best Regards Anders Lindgren > -----Original Message----- > From: sip-bounces@ietf.org [mailto:sip-bounces@ietf.org] On > Behalf Of Byron Campen > Sent: den 27 maj 2009 17:44 > To: jari.urpalainen@nokia.com; Dean Willis > Cc: sip@ietf.org List; Robert Sparks > Subject: Re: [Sip] Draft ietf-sip-xcapevent revised, many > open questions > > > On May 26, 2009, at 7:35 PM, Dean Willis wrote: > > > > > > 3) SUBSCRIBE bodies > > > > Section 4.4 currently says; > > > > The SUBSCRIBE request MAY contain an Accept header field. If no > > such > > header field is present, it has a default value of "application/ > > xcap-diff+xml". If the header field is present, it MUST include > > "application/xcap-diff+xml", and MAY include any other types. > > > > This doesn't sound right to me. > > > > Yeah, this is what 3265 makes us do (define a default > Accept header field value for the event package). > > Also, it looks like we lost a right-angle-bracket on > the <element> open tag in the xcap-diff document in section 5. > > Lastly, I have been meaning to ask; in what cases (if > any) would sending a SUBSCRIBE 404 be appropriate in this > event package? Do we establish a subscription even if every > uri in the SUBSCRIBE body refers to an AUID we don't support? A Subscriber can find out which AUID the XCAP Server support by retrieving the "xcap-cap" document document as defined in RFC4825 section 12 prior to the subscription in case an implemtation needs to know this. > What about uris that are formatted in an unsupported way (for > example, using "users/bob" when what the server really needs > is "users/sip:bob@foo"), or that use a document name that > doesn't exist in the AUID being used (say, "rls- > services.xml" instead of "index" or "index.xml")? How about > uris that are outright malformed; it seems that our best > choice is a SUBSCRIBE 400, but what if only one of the uris > in the SUBSCRIBE body is in such a state? It is very difficult for an XCAP server to know that a valid document selector will be in the future. It shall be possible to monitor when a document is created and how will the Notifier know what in the future will be a valid Document selector? Shall the Notifier use its present configuration to find out what will be valid in the future or shall the Notifier trust that the Subscriber knows something that the Notifier yet does not know. My view is that it is better to trust the Subscribe and assume that the document selector if not valid now will be valid in the future. If a Notifier really have a need to fail the subscription to a certain XCAP resource, my suggestion is to fail the whole subscription in order to not to make things more complex than necessary. One issue if it may exist a need to provide a body with detailed information to support that the Subscriber can resubscribe with a body that the Notifier will accept or if an empty 400 is enough. In most case the Subscriber has got the Document Selector for an other type of client ( e.g. An XCAP client) and it is not provided by a human user. This means that the it very likely that the Document Selector is not malformed in the case . If the URI is only an AUID and that AUID is wrong it is likely caused by a bug in the Subscriber client program and I find it hard to see that a detailed error message will help to correct such a fault ( Maybe an error message will help to find the bug). The case that is left is when the XUI in an unsupported format and the XUI is inserted by a human user wrongly. Again how will the Notifier know what formats it may have to support in the future and that it is OK to fail the subscription on existing knowledge. My view is that the normal behavior for a Notifier is to keep the subscription and report back information about existing resources and regard all other resources as resource that may exist in the future and therefore not fail the subscription. This means that the draft is good enough as it is as I see it and that detailed error procedures for a case that is hard to detect is not really needed. >Could we use <xcap-error> documents in some way (provided the subscriber > supports this format) to help indicate what went wrong in these cases? If it exist a need to provide this detailed information I do not think the <xcap-error> is a suitable choice as this document is handling errors related to the XML body in an XCAP PUT and not errors related to the Document selector. > > Best regards, > Byron >
- [Sip] Draft ietf-sip-xcapevent revised, many open… Dean Willis
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Jari Urpalainen
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Byron Campen
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Jari Urpalainen
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Anders Lindgren C
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Byron Campen
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Robert Sparks
- Re: [Sip] Draft ietf-sip-xcapevent revised, many … Jari Urpalainen