Re: [Sedate] Distinguishing "optional extra" vs "you need to understand this to process the date accurately" extensions

John C Klensin <john-ietf@jck.com> Thu, 09 December 2021 16:06 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: sedate@ietfa.amsl.com
Delivered-To: sedate@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58C713A0DE6 for <sedate@ietfa.amsl.com>; Thu, 9 Dec 2021 08:06:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 zLxvL6oPFGmb for <sedate@ietfa.amsl.com>; Thu, 9 Dec 2021 08:05:56 -0800 (PST)
Received: from bsa2.jck.com (ns.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F0BC3A0DE4 for <sedate@ietf.org>; Thu, 9 Dec 2021 08:05:55 -0800 (PST)
Received: from [198.252.137.10] (helo=PSB) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1mvLvZ-000HNP-Sz; Thu, 09 Dec 2021 11:05:49 -0500
Date: Thu, 09 Dec 2021 11:05:44 -0500
From: John C Klensin <john-ietf@jck.com>
To: Carsten Bormann <cabo@tzi.org>, Bron Gondwana <brong@fastmailteam.com>
cc: sedate@ietf.org
Message-ID: <623AE826DD8D0743BA21DF9A@PSB>
In-Reply-To: <5EB507A6-091B-4E19-A9A0-321F93DD3F4D@tzi.org>
References: <9415a87f-dc8a-47d7-9e2e-9a1f5f6617d5@dogfood.fastmail.com> <5EB507A6-091B-4E19-A9A0-321F93DD3F4D@tzi.org>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.10
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/sedate/YDqQm2Bvu6fC7U0hkJZBN6B-3IM>
Subject: Re: [Sedate] Distinguishing "optional extra" vs "you need to understand this to process the date accurately" extensions
X-BeenThere: sedate@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Serialising Extended Data About Times and Events <sedate.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sedate>, <mailto:sedate-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sedate/>
List-Post: <mailto:sedate@ietf.org>
List-Help: <mailto:sedate-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sedate>, <mailto:sedate-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2021 16:06:01 -0000


--On Thursday, December 9, 2021 15:59 +0100 Carsten Bormann
<cabo@tzi.org> wrote:

> On 2021-12-09, at 14:04, Bron Gondwana
> <brong@fastmailteam.com> wrote:
>> 
>> So I wonder if we need a syntax to say "if this extension is
>> not recognized by the receiving system, it SHOULD throw an
>> error and MUST NOT expect the date to be exact" - either a
>> reserved namespace for such extensions, or some other
>> syntactical sugar.
> 
> Protocols typically have a way to distinguish "critical"
> (or "must-understand") options from "elective"
> options.  Sometimes, the distinction is baked into the option
> code, sometimes there is separate place (which also allows the
> same option to be used in both ways).  Our syntax should
> provide an easy way to do the latter, as in:
> 
>    1996-12-19T16:39:57-08:00[America/Los_Angeles][u-ca=hebrew]
> (Elective, ignore option if not understood)
> 
>    1996-12-19T16:39:57-08:00[America/Los_Angeles][u-ca!hebrew]
> (Critical, must understand/must reject date if not understood)
> 
> Well, we need better examples...

Carsten,

Using your examples and adapting your syntax (purely as
examples), would you also expect/allow

    1996-12-19T16:39:57-08:00[!America/Los_Angeles][u-ca=hebrew]
How about 

2022-12-19T16:39:57!-08:00[!America/Los_Angeles][!u-ca=hebrew]
which might mean "that time, somewhere"?

:-(
Standing one the edge and looking down the slippery slope here.

best,
   john