Re: [xmpp] <optional> and <required/>

Peter Saint-Andre <stpeter@stpeter.im> Tue, 15 March 2011 22:28 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: xmpp@core3.amsl.com
Delivered-To: xmpp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 12A8F3A6A4B for <xmpp@core3.amsl.com>; Tue, 15 Mar 2011 15:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.629
X-Spam-Level:
X-Spam-Status: No, score=-102.629 tagged_above=-999 required=5 tests=[AWL=-0.030, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 dV04pqWqfrLg for <xmpp@core3.amsl.com>; Tue, 15 Mar 2011 15:28:52 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C50F13A6930 for <xmpp@ietf.org>; Tue, 15 Mar 2011 15:28:51 -0700 (PDT)
Received: from dhcp-64-101-72-212.cisco.com (dhcp-64-101-72-212.cisco.com [64.101.72.212]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id E309740022; Tue, 15 Mar 2011 16:30:44 -0600 (MDT)
Message-ID: <4D7FE877.8050505@stpeter.im>
Date: Tue, 15 Mar 2011 16:30:15 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: Waqas Hussain <waqas20@gmail.com>
References: <1299638843.18776.76.camel@spinachia> <4D76EE02.2010807@stpeter.im> <AANLkTi=S7v4UjH+LVxUT_LaBR_20Jocye=pve41mS+UF@mail.gmail.com>
In-Reply-To: <AANLkTi=S7v4UjH+LVxUT_LaBR_20Jocye=pve41mS+UF@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms010002070302030605040502"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] <optional> and <required/>
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Mar 2011 22:28:53 -0000

On 3/13/11 12:54 PM, Waqas Hussain wrote:
> On Wed, Mar 9, 2011 at 8:03 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>> On 3/8/11 7:47 PM, Kim Alvefur wrote:
>>> Hi!
>>>
>>> Just to point out that these sections[1][2] seems to conflict with this
>>> tread[3]. Otherwise, how does it make sense for roster versioning to be
>>> required?
>>>
>>> [1]: http://tools.ietf.org/html/draft-ietf-xmpp-3920bis-22#section-4.9.3.23
>>> [2]: http://tools.ietf.org/html/draft-ietf-xmpp-3921bis-20#section-2.6.1
>>> [3]: http://www.ietf.org/mail-archive/web/xmpp/current/msg01125.html
>>
>> There are two different topics here:
>>
>> 1. Whether any given feature is mandatory-to-negotiate or
>> voluntary-to-negotiate.
>>
>> 2. Whether to define a generalized mechanism for such signalling, which
>> would apply to all features.
>>
>> The mailing list post you've cited applies to #2. Section 2.6.1 of
>> 3921bis applies to #1.
>>
>> I see your point about the <unsupported-feature/> stream error: it might
>> not make much sense to define such an error condition if there is no
>> generalized mechanism for signalling that any given feature is
>> mandatory-to-negotiate...
>>
>> Peter
>>
> 
> I think the <optional/> in 3921bis should go.
> 
> 3921bis defines two stream features. Both are optional. One wants
> <optional/> inside, the other doesn't. I think this <optional/> is a
> leftover from when we tried having a generalized mechanism for
> required features, and the only purpose it serves in this instance is
> to add redundant inconsistency.

You might be correct. I will look at this during AUTH48, i.e., right now.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/