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

Doug Royer <douglasroyer@gmail.com> Fri, 17 May 2019 03:24 UTC

Return-Path: <douglasroyer@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 828D9120344 for <calsify@ietfa.amsl.com>; Thu, 16 May 2019 20:24:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 4hCfw09We2au for <calsify@ietfa.amsl.com>; Thu, 16 May 2019 20:24:46 -0700 (PDT)
Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 BA1F1120088 for <calsify@ietf.org>; Thu, 16 May 2019 20:24:46 -0700 (PDT)
Received: by mail-io1-xd2c.google.com with SMTP id m7so4351049ioa.6 for <calsify@ietf.org>; Thu, 16 May 2019 20:24:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AwERbzLLWzLXl5IgVQTb3lHqklGk6+YlaYybidKWs6Y=; b=HsnN4AeEDyPHHXfbZCL40HvGJYrQWkk2c8xDQbezzrLF+33pnJ/Xkl1q1iWUAun/TM HR55hoGgh8ZrKx7c0mvQw4WUS2sCHJFQgbmfXoNYxSAArfUa+TQaOtoGyb+8L9nKM9BM 5Bdd5/wscE45yYHqkL+8s+zyOuA2ka8G0dqinIV0Y4Aq0xfiD2Sob63NueyyJX+S1tL7 piFd4MDMDYXUZ1DQrVNmcvKtmNxZQZ+5mvpug1g5l4xEp/Bmaf/5yyroEkUa1Z42/ulC meSPuAEyVDQhIuYt7fMOZBeqwimYcUImzHTP7EdRw5uSjn/KjsKe1u05rhzaXTkZtMJq 6ksA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=AwERbzLLWzLXl5IgVQTb3lHqklGk6+YlaYybidKWs6Y=; b=Tq/zlZMAeekm0B5RIEtjGeS3F23UI+fNRo4uAvUnK3GScHTHgBQP6R1jZ7wWAak5fL PN2sJzr5E0kjB2bbmOAnz5R9uulKRil928vYS8LVa5mDvC6RpNBSI/Aght4Li9gB0D6F rOpogiMMmrO8Z2v/fdtsutESzx6oOghgysDqMQh7oQ9lZ0kfesIOOscX2QajMVfCedug KfG8jVUYFREw5RymHNTwVINZvEZsbwUK43wjPGABZL0Egt3ZdwibE2JTOUCN8XQ3KsDf N9HHpNG//OPsxA2/qTMNGgao1XmGEZLAHOM0Es+1TcJG5tMzsNl/W+EI+3gpdn1kFan1 5ikA==
X-Gm-Message-State: APjAAAX1mfIMFjYequYSiqP2FxaUXl54v+K3HRaL5vpBRIsPHvNdcFhP gBYaACLXBcpOb5pDnoo5mIqWVu8AgY9T
X-Google-Smtp-Source: APXvYqyL0+JfRJG7qChk0Km85yy/tW0QAixdW/6AlaoE8JKI6pAUgjrnUgGrIp9u0e9JxU84/Z7EfQ==
X-Received: by 2002:a5d:991a:: with SMTP id x26mr13788556iol.112.1558063485772; Thu, 16 May 2019 20:24:45 -0700 (PDT)
Received: from [192.168.1.7] ([174.27.51.111]) by smtp.gmail.com with ESMTPSA id k7sm2379631ioh.36.2019.05.16.20.24.44 for <calsify@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 16 May 2019 20:24:44 -0700 (PDT)
From: Doug Royer <douglasroyer@gmail.com>
X-Google-Original-From: Doug Royer <DouglasRoyer@gmail.com>
To: calsify@ietf.org
References: <3b53a2df-d6bd-7c77-a39a-fb7d151d89c5@gmail.com> <b722e48f-d171-e029-d51a-d32e6fd08970@dmfs.org>
Organization: http://SoftwareAndServices.US
Message-ID: <c278eb14-da17-9eab-bcd4-9056eaa42913@gmail.com>
Date: Thu, 16 May 2019 21:24:43 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <b722e48f-d171-e029-d51a-d32e6fd08970@dmfs.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/5HkakVsJLJrj3KUciVaAFpmoALo>
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: Fri, 17 May 2019 03:24:48 -0000

On 5/14/19 2:24 PM, Marten Gajda wrote:
> 
> 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.

Every implementation being able to handle false is not the same thing as 
every implementation handling false differently - because it is NOT 
documented in the spec - so just guess? Yes a small hole.

I would bet that some implementations may default to true, others false, 
then when the two meet, oops happens because of some other seemingly 
unrelated issue.


--
Doug Royer (http://DougRoyer.US http://SoftwareAndServices.US)