Re: [calsify] draft-ietf-calext-jscalendar - excluded

Marten Gajda <marten@dmfs.org> Tue, 14 May 2019 20:24 UTC

Return-Path: <marten@dmfs.org>
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 D0BA412012D for <calsify@ietfa.amsl.com>; Tue, 14 May 2019 13:24:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=dmfs.org
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 sARu_ZKizHiK for <calsify@ietfa.amsl.com>; Tue, 14 May 2019 13:24:31 -0700 (PDT)
Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com (mailrelay4-1.pub.mailoutpod1-cph3.one.com [46.30.210.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65A88120021 for <calsify@ietf.org>; Tue, 14 May 2019 13:24:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dmfs.org; s=20140924; h=content-type:in-reply-to:mime-version:date:message-id:from:references:to: subject:from; bh=ZdEP3f8pzg3huaoFZS71xbnT7h+P1LPNKaKTz792+cI=; b=PdTF1Q/y2bYbb49nzkDARV6y042LtBW3LBzjWkHdR0ES1NspVTVCVJHEDBbFA0ioLXA1FyIfgmF8K 6Ew8wemng4SoRbnu5t77l+wDr0ZYIN3kunaz4sPTN/2gvdW8RZi1fFTncGR4HzgD/b7j86zaYVEZzK IpTiwRY3c6vzBqAk=
X-HalOne-Cookie: ad1ebba074927de49c631ea8133e59aa3b7bc825
X-HalOne-ID: 4531e591-7686-11e9-abc4-d0431ea8bb10
Received: from smtp.dmfs.org (unknown [62.224.73.93]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 4531e591-7686-11e9-abc4-d0431ea8bb10; Tue, 14 May 2019 20:24:27 +0000 (UTC)
Received: from boss.localdomain (p2E50ED49.dip0.t-ipconnect.de [46.80.237.73]) by smtp.dmfs.org (Postfix) with ESMTPSA id D392C4B4 for <calsify@ietf.org>; Tue, 14 May 2019 22:24:26 +0200 (CEST)
To: calsify@ietf.org
References: <3b53a2df-d6bd-7c77-a39a-fb7d151d89c5@gmail.com>
From: Marten Gajda <marten@dmfs.org>
Message-ID: <b722e48f-d171-e029-d51a-d32e6fd08970@dmfs.org>
Date: Tue, 14 May 2019 22:24:26 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <3b53a2df-d6bd-7c77-a39a-fb7d151d89c5@gmail.com>
Content-Type: multipart/alternative; boundary="------------78B7AFC9BBE3DB63EB56CE70"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/ibWjomzS6Fs9oLisiJrQJtJny-o>
Subject: Re: [calsify] draft-ietf-calext-jscalendar - excluded
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: Tue, 14 May 2019 20:24:36 -0000

Am 14.05.19 um 03:40 schrieb Doug Royer:
> >> 12. _excluded_ property (4.3.2). I assume (ambiguous) if it can ever
> >> be set to false? Can I send it in object set to false at all? When
> >> would it be valid to set it to false? What is the point of ever being
> >> able to send one set to false?
> >
> > This property represents what's EXDATEs in iCalendar. It could be set
> > to false, but it's only really useful to set it to true, or not at
> > all.
>
> Just trying to reduce dead code issues in implementations (ambiguous
> handling and expectations). If the spec specifically said that it
> should only be supplied when TRUE, then no code will ever be written
> to do otherwise.
>
> No need to code "... else when set to false ..." because that code
> would NEVER execute == dead code.

Every implementation should be able to handle `false`. It's the default
if the property is absent and there may be implementations which prefer
being explicit rather than relying on defaults. We see this in iCalendar
a lot when implementations specify VALUE=DATE-TIME even though it's the
default for those properties.

I don't see much of an issue here, especially since the `false` path is
the same as the "absent" path.

Marten

>
>
>
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify

-- 
Marten Gajda
CEO

dmfs GmbH
Schandauer Straße 34
01309 Dresden
GERMANY

phone: +49 177 4427167
email: marten@dmfs.org

Managing Director: Marten Gajda
Registered address: Dresden
Registered No.: AG Dresden HRB 34881
VAT Reg. No.: DE303248743