Re: [calsify] draft-ietf-calext-jscalendar-icalendar-02

Michael Douglass <mikeadouglass@gmail.com> Mon, 21 December 2020 05:09 UTC

Return-Path: <mikeadouglass@gmail.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF6603A0C67 for <calsify@ietfa.amsl.com>; Sun, 20 Dec 2020 21:09:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.198
X-Spam-Level:
X-Spam-Status: No, score=-0.198 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 yTysbqvMN6A7 for <calsify@ietfa.amsl.com>; Sun, 20 Dec 2020 21:09:30 -0800 (PST)
Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 4C3033A0C64 for <calsify@ietf.org>; Sun, 20 Dec 2020 21:09:30 -0800 (PST)
Received: by mail-qv1-xf35.google.com with SMTP id d11so3946438qvo.11 for <calsify@ietf.org>; Sun, 20 Dec 2020 21:09:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=NDJ1+HZNYpfWNpVuhZHTPdz+FOWKq+HaOG2LwG2I1bM=; b=reR/Uod4EU9nVFSbm0dEf0MD+T000g/aHx2VPkeA52HJ6B/xYt13suTd3EaQgrBokd iyf3MNefRJLysEWxk2g1Bk1WaO9t2zG12q0wR6478z4NlCr98Zc87ewh3Nx8YO9AeKsG 1t7tBZDH7Bc9XJBvOYNAL+8foNIwzOdjaY1eXJ24mgmAXZGylE7Bxx06FuFl8RvQ+iNf ph5tNYP3xrJXs2VeJ/27wXZHbcnRtBei/4bvLQvJLSgB5NtoT4slwFFUibiW3mTITvzI bIF0Hi8oXiDcfpLKQSdJtuBPRA0bfKJJkis37D4jvGKUN+Xom9+H3S/y9nCPTXyX+SkV k42A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=NDJ1+HZNYpfWNpVuhZHTPdz+FOWKq+HaOG2LwG2I1bM=; b=BTvPYjzIiKXeui2RSGW/HlyByHKgB1wXoTpDXyf7XpZsmzBWW0U5UPtO05EpTTFVhB fyhhQt98JTvTkIKJ0wWSOph6xabiTDRvxlOM75UK8HLZC1tr/G4sIPRK9mdymwLK6G+S ce0XYDDg+S4zxDyXKayvgxGdAE2XBsqrdnSSveJbkwadSifDZtIZ0zfwKlkYpYdJ99UU tZkvNu7tYf6gxQO1GLkcomErYy0/dDN+K7ETLekQQL7mE1WQYH/SnwbcH2Z0B8JYVv/U 9Sn2z5nlAfAeq2hzDKqKfSoK75Vu2wQJXYU5c8fZOk1b6g3ccqk5BnMxxphKmHxBTj/N RQhg==
X-Gm-Message-State: AOAM530qHbypK6PkvPVI6lAvAe8tfNYowvySrFjK6zFoULuZrE1ri4B1 G4uMQb3Y8EIIcJMVLjUm1mG8Nsua9MeX2g==
X-Google-Smtp-Source: ABdhPJww4xfDoGvgGp6G7TgQhyG4nXIIH6g4FTKb1RQFkexlVOeZYsiEAuJm3aM1vpkUzUrAxlSgeg==
X-Received: by 2002:a0c:9ccb:: with SMTP id j11mr3314359qvf.44.1608527369006; Sun, 20 Dec 2020 21:09:29 -0800 (PST)
Received: from [192.168.1.151] (cpe-74-70-70-237.nycap.res.rr.com. [74.70.70.237]) by smtp.googlemail.com with ESMTPSA id r22sm10646123qkk.67.2020.12.20.21.09.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Dec 2020 21:09:27 -0800 (PST)
To: Ken Murchison <murch@fastmail.com>, Calsify <calsify@ietf.org>
References: <57f81335-b7a9-6a9f-df5f-bab580689a33@fastmail.com>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <bedb37af-67f1-17d0-b785-c4c9a27418e0@gmail.com>
Date: Mon, 21 Dec 2020 00:09:26 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.5.1
MIME-Version: 1.0
In-Reply-To: <57f81335-b7a9-6a9f-df5f-bab580689a33@fastmail.com>
Content-Type: multipart/alternative; boundary="------------2EE05A8186AE1F3A57E18BCE"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/VKgrObuAvFOTUKeEGm6oCgJyluM>
Subject: Re: [calsify] draft-ietf-calext-jscalendar-icalendar-02
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2020 05:09:32 -0000

On 12/19/20 13:50, Ken Murchison wrote:
>
> All,
>
> I just had cause to consult jscalendar-icalendar Section 2.1 
> <draft-ietf-calext-jscalendar-icalendar-02> and I have a couple of issues:
>
>  1. Why is this value specified to be the entire date-time plus
>     fractional seconds?  Wouldn't the fractional seconds be sufficient?
>  2. The definition of the parameter is incorrect:
>      1. It doesn't include the game of the parameter in the definition
>      2. The value isn't DATE-TIME or DURATION, its value is an
>         extension of date-time.  If keeping a full time representation
>         it should be something like "date-time "." 1*DIGIT
>
1.This was my suggestion - way back in April

As I recall my main problem with the previous approach - which was just 
the fractional part - was that it led to ambiguities and having to 
define how the full value was rounded to produce the truncated iCalendar 
value. Having the full value means you just choose to use either the 
(possibly adjusted) property value or the (possibly more accurate) 
FRACTIONAL parameter value. No processing or worrying about edge cases.

2. I think FRACTIONAL can be used for DURATION as well as as for DTSTART 
and the abnf is wrong anyway. We have

fractional-param = DATE-TIME or DURATION

shouldn't it be something like

fractional-param = "FRACTIONAL" = (date-time | dur-value) ["." 1*DIGIT]
; Value is extended date-time when used with the DTSTART property
; Value is extended dur-value when used with the DURATION property

and we need abnf for etending DTSTART and DURATION


>
> -- 
> Kenneth Murchison
> Senior Software Developer
> Fastmail US LLC
>
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify