Re: [imapext] AD review draft-ietf-imapapnd-appendlimit-extension-06

Stu Brandt <stuart.brandt@teamaol.com> Thu, 17 December 2015 17:37 UTC

Return-Path: <stuart.brandt@teamaol.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A53C1B2FEF for <imapext@ietfa.amsl.com>; Thu, 17 Dec 2015 09:37:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJ_oBVPZYLr4 for <imapext@ietfa.amsl.com>; Thu, 17 Dec 2015 09:37:08 -0800 (PST)
Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BCD411B2FF2 for <imapext@ietf.org>; Thu, 17 Dec 2015 09:37:04 -0800 (PST)
Received: by mail-qg0-x22c.google.com with SMTP id v36so12841049qgd.2 for <imapext@ietf.org>; Thu, 17 Dec 2015 09:37:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=teamaol-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=s8KWqKjPoXfCXfopRk9wnQoljVU9qNRmOfwcYDydkeE=; b=q/P9+VV+DAFd/8MYjZGLR+K/2BxsyTJBQFIBHgdr+FN+kFICNY2QlKJYGex3axI2O9 4WXCGkHgYuST54e8TZxFFCLAtQG7G6J5MPG3dAS+ZhVH1qNQP22GMA8AzMFQP9LvolMq POFVrKxgKekgH5xTD1LxOokzjXfZCzEiHdx3BHjQBJx/lFB8LYLLsbiywjemVn6oTnPU 38dLGuDvZMgGmKD4T7dzqXimdqXetlwE68V0F6XvadpLa5e84+PxcSXKpYzMQfsm+HIs PHZt+3KdDxjvQSmTZSXGPB87zJK7/2cHHFWXXREOFapNjFGFcS0yrWY6doH+5wc8sA3w EwTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=s8KWqKjPoXfCXfopRk9wnQoljVU9qNRmOfwcYDydkeE=; b=mgSsI9+PjTb/aTqq6qFFAt+4IHVWXQjtFouNn1G6LyGeu4c+yzIXGLdWnFrifAeKS0 b8Vpk9kkPyiqkezs22hA3ksmjiujqBMkq7vg03bq1ckM/cZMs6aAKp1+Ltq+sLmSz60K Iyh0CRiuIPpyaSk8etpcj/ehiQJV81iL2XIwyncBeuJzrS+g8W8gnRtPYVMaMZ5cpI7h obquOCfhxU/BoO6H1pGghP2f2CY4gvyGwXfR3IZIrdOalKuyG8JQhGlpjJaLKiiZPEAL 5prfPyK28CUrp3x3iOdtoPZZ+T0DcfacbszWmpGdonG9T9Y/JonzC8w236k47Q/N12WI hNgA==
X-Gm-Message-State: ALoCoQlbqYtvKfOCH7UqBu6tlNc7NxCDz0F/E7z9aYHYp6gC3vZUjlp2b1DpGNA0nH4ZJkzfWgLhyyEcUrBek7mwh5e8s8Lz0g==
X-Received: by 10.140.173.132 with SMTP id t126mr9064283qht.96.1450373823863; Thu, 17 Dec 2015 09:37:03 -0800 (PST)
Received: from [10.172.113.137] (h-64-236-208-25.nat.aol.com. [64.236.208.25]) by smtp.gmail.com with ESMTPSA id r66sm5052237qhb.35.2015.12.17.09.37.03 for <imapext@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Dec 2015 09:37:03 -0800 (PST)
To: imapext@ietf.org
References: <emcf7f771e-a84b-4df3-b9ff-06dd5417a655@bodybag> <5A5084CC-6733-45DB-B3D5-4F73285257D0@isode.com> <6679218db47f443794b1ce28452623eb@SEAMBX07.sea.samsung.com> <5672EEDE.5060101@isode.com>
From: Stu Brandt <stuart.brandt@teamaol.com>
Message-ID: <5672F2BE.8060404@teamaol.com>
Date: Thu, 17 Dec 2015 12:37:02 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <5672EEDE.5060101@isode.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/CRSN9qzfuE4VI6d7wj9OM6Qprbs>
Subject: Re: [imapext] AD review draft-ietf-imapapnd-appendlimit-extension-06
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Dec 2015 17:37:10 -0000

Since RFC 3501 section 4.5 states...

    The special form "NIL" represents the non-existence of a particular
    data item that is represented as a string or parenthesized list, as
    distinct from the empty string "" or the empty parenthesized list ().


...does the introduction of nil as an alternative to number now imply 
that an update to this text is necessary?

- Stuart

On 12/17/15 12:20 PM, Alexey Melnikov wrote:
> Hi,
>
> On 17/12/2015 17:01, Narendra Bisht wrote:
>> The data type for APPENDLIMIT is NUMBER.
>> Will it accommodate a NIL?
>
> RFC 3501 defines:
> status-att-list =  status-att SP number *(SP status-att SP number)
>
>
> RFC 4466 redefines status-att-list:
> status-att-list = status-att-val *(SP status-att-val)
>                       ;; Redefines status-att-list from RFC 3501.
>
> status-att-val  = ("MESSAGES" SP number) /
>                       ("RECENT" SP number) /
>                       ("UIDNEXT" SP nz-number) /
>                       ("UIDVALIDITY" SP nz-number) /
>                       ("UNSEEN" SP number)
>                       ;; Extensions to the STATUS responses
>                       ;; should extend this production.
>                       ;; Extensions should use the generic
>                       ;; syntax defined by tagged-ext.
>
> So, I think you should add RFC 4466 to Normative references, then add
> the following to Section 5 of your draft:
>
> appendlimit-status-att-val = "APPENDLIMIT" SP (number / nil)
> status-att-val /= appendlimit-status-att-val
>                              ;; status-att-val is defined in RFC 4466
>
>>
>> -----Original Message-----
>> From: imapext [mailto:imapext-bounces@ietf.org] On Behalf Of Alexey
>> Melnikov
>> Sent: Thursday, December 17, 2015 5:16 AM
>> To: imapext@ietf.org
>> Subject: Re: [imapext] AD review of
>> draft-ietf-imapapnd-appendlimit-extension-06
>>
>>
>>> On 17 Dec 2015, at 03:39, Adrien de Croy <adrien@qbik.com> wrote:
>>>
>>> ------ Original Message ------
>>> From: "Barry Leiba" <barryleiba@computer.org>
>>> To: "Bron Gondwana" <brong@fastmail.fm>
>>> Cc: "imapext@ietf.org" <imapext@ietf.org>
>>> Sent: 17/12/2015 9:14:31 a.m.
>>> Subject: Re: [imapext] AD review of
>>> draft-ietf-imapapnd-appendlimit-extension-06
>>>
>>>>>> Why do we think there's anything wrong with using, say, the word
>>>>>> "NONE" (either case-insensitive or case-sensitive; I don't care)?
>>>>>> What's wrong with this?:
>>>>>>
>>>>>> C: t1 STATUS INBOX (APPENDLIMIT)
>>>>>> S: * STATUS INBOX (APPENDLIMIT NONE)
>>>>>> S: t1 OK STATUS completed
>>>>> If you're going to do that, why not make it (APPENDLIMIT NIL), which
>>>>> already has exactly the meaning that we want?
>>>> Yes, I'd forgotten about the existing token "NIL".  I like that
>>>> approach.
>>> +1
>>>
>>> Definitely not a fan of overloading the meaning of magic numbers
>> I don't think this is a particular important point (there are always
>> limits of some kind), but I like NIL.
>
> _______________________________________________
> imapext mailing list
> imapext@ietf.org
> https://www.ietf.org/mailman/listinfo/imapext