Re: [calsify] SCHEMA vs New Property

Doug Royer <douglasroyer@gmail.com> Wed, 10 July 2019 17:08 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 98F161200FE for <calsify@ietfa.amsl.com>; Wed, 10 Jul 2019 10:08:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.297
X-Spam-Level:
X-Spam-Status: No, score=0.297 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, FREEMAIL_REPLY=1, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 gnDSIMZXxHHA for <calsify@ietfa.amsl.com>; Wed, 10 Jul 2019 10:08:45 -0700 (PDT)
Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 C387D120047 for <calsify@ietf.org>; Wed, 10 Jul 2019 10:08:45 -0700 (PDT)
Received: by mail-pf1-x442.google.com with SMTP id q10so1378332pff.9 for <calsify@ietf.org>; Wed, 10 Jul 2019 10:08:45 -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=sDBkkUC0o//L6wKox6JMv6ObS04fThC8hI0b4Bthfac=; b=Kio1PEsaY5NlrnrYgCzfBrpnkpMVf/AsIQ8z0m7XOkHoEhiBW1HDngLwbHoqQL3QRs VYi7zlKUb/z0zJcycf/sgg3p6cF01ll14Vmoxli0/3AxkJzlFXlU4Ck9NIpX0GXLvQrV yMvlecds0nF3Fm1uDm6y0m4bCT6Dd8hhr9pZk5Q3M8vyvjlTU3OuAR87jvw58VYXgN/6 wt49dE+7O5z6HkOcgpjzSbLsevCDFyDsgx6JdTwoBOM5VXrAbe5+R6ZNo0aqdClTnh8W zAZmGSock5JjsyZYl0WYfMWURHPNwyE9pWhch7jqDRAzRZigy2VQ5UvIZ7yKe2p2e5PL v9pQ==
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=sDBkkUC0o//L6wKox6JMv6ObS04fThC8hI0b4Bthfac=; b=pXtjc/TAUij5d6cLFyfSmGw9B4ePCovc4TjnQ2EmHvDBIohv4Vkw9ZppLM/GK9V+xq DCdJgr614Kzu4l7iOwiCGPQTJjUiZIqEa8szjAu3M/b8szOu49ykj3/35+8YW+6IceLj EWN1AHtzDCwnP/HdTCNXnT3hWtqf0q51L8KT5kdFslwpH2MRFTZCG4ze8PnhsuNS1fpB JLoAQ40Wft7ZGXRKNIakvwlsehkcPMwZzsk/Wm8SNyElwvfaS5nBujGnlCT8FEStTfPl ke7iQgx5PDgxkmQ9HoDfq5HyQa3hJ5+n/XR5248rR+4sUE6DqpEjto1MHgEQzR+VEUfT v0Aw==
X-Gm-Message-State: APjAAAWEiN8f5it1UYu2nOO6cBx7SL2rSQZFC7PrjXR5I6Io9so5tPFE ZliuJmZ+0obCsqRvJ+4n0jXILMBmDLE+
X-Google-Smtp-Source: APXvYqwJ1/h6FwQwnCZ6u7TS707KBV+C4QQowyxEcby7CXGDrZvgcmtZBFKDoqrwKOwcJBpPzWtmZw==
X-Received: by 2002:a65:6152:: with SMTP id o18mr37033052pgv.279.1562778524493; Wed, 10 Jul 2019 10:08:44 -0700 (PDT)
Received: from [192.168.1.7] ([174.27.175.146]) by smtp.googlemail.com with ESMTPSA id f72sm5305310pjg.10.2019.07.10.10.08.43 for <calsify@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jul 2019 10:08:43 -0700 (PDT)
From: Doug Royer <douglasroyer@gmail.com>
X-Google-Original-From: Doug Royer <DouglasRoyer@gmail.com>
To: calsify@ietf.org
References: <CAOxZLy0VntDQYCrdvnpDcef3rPqXibqso36OwEjbFn4kdUSPWQ@mail.gmail.com> <482a9dba-6d92-3b78-a9be-d90682f4d4f2@gmail.com> <CAOxZLy3nGvKcs+D2e3MaUGxy-wsgcX1_a1Znv+9geT2E9HjRSw@mail.gmail.com> <f8457cda-1e96-03e3-f37e-d550c10cfb7d@gmail.com> <05079bf2-6494-4c6b-00dc-1a9ecd6beda0@gmail.com> <019701d53698$f0864d40$d192e7c0$@comcast.net> <1887200c-8a74-6e6a-7cf8-abb0409749b3@gmail.com>
Organization: http://SoftwareAndServices.NET
Message-ID: <46e5f495-385a-e93e-088a-0316da3cb387@gmail.com>
Date: Wed, 10 Jul 2019 11:08:42 -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: <1887200c-8a74-6e6a-7cf8-abb0409749b3@gmail.com>
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/q-bHmz7UfcLpyhi2gNOO8l9ettk>
Subject: Re: [calsify] SCHEMA vs New Property
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: Wed, 10 Jul 2019 17:08:47 -0000

On 7/9/19 4:18 PM, Michael Douglass wrote:
> 
> On 7/9/19 16:57, Tim Hare wrote:
>> What is needed is documentation that says all calendar UAs are not required
>> to handle STRUCTURED-DATA and SCHEMA,  perhaps that if STRUCTURED-DATA is
>> used then DESCRIPTION  SHOULD be present to describe what the structured
>> data is so that any CUA can display _that_ text,  but consumers of the
>> calendar item that DO understand the SCHEMA can use it.
>>
>> In my view, defining new properties for every possible kind of VEVENT or
>> VTODO amounts to the same amount of work as defining a SCHEMA for that
>> structured data.  CUAs would fail, graciously, to process those properties
>> in the just about same way as they'd fail to handle the structured data.
>> The difference, to me,  is that using STRUCTURED-DATA and SCHEMA  means the
>> RFC isn't constantly updated for new use cases involving new kinds of data
>> that is related to the calendar event but not calendar data per se.

The effect of SCHEMA would be to create an entirely new object identifier to replace mime-type.

If the data is proprietary, the X-PROP with an undocumented data type works now and no documentation needed. Implementations are free to ignore X-PROP.

If the data is to be shared between vendors, then documenting is what is needed, and is the reason for the IETF, RFCs, and standards. It can be released as a proposed standard, or informational.

The issue with maintenance is work flow, and not so much data values. They are proposing both the flow and the data. The draft needs work and feedback.

> Additionally - data that is incompatible with the iCalendar format can be transported easily.

It already can, iCalendar is a MIME content type that can contain internal to the same MIME object - via CID, or external with a URL object sets. That is in the introduction of 5545.

A fact is that, some (many?) user interfaces do not take advantage of that may make it appear that a new object identifier is needed.

 From 5545:

	"...Note: While there is no restriction imposed on the URI schemes
          allowed for this parameter, Content Identifier (CID) [RFC2392],
          HTTP [RFC2616], and HTTPS [RFC2818] are the URI schemes most
          commonly used by current implementations. ..."


> And I don't think it's quite the same amount of work.

Same is relative to where the code is at, and the final version.

> New iCalendar properties need to be generally useful in calendars and scheduling. Very specific properties used to address a need such as this are probably better contained in data with their own schema.

There is no restriction on the type of attachments that can added.

The proposal to replace  Mime-Type identifiers inside of a MIME object, would be creating an entire new set of identifiers. Something that would be in parallel and out of step with how the IETF has decided to define object types.

The 'how to define any object in the world' debate has no solution. So the IETF decided on Mime-Type and a process to register new ones. And a process to use proprietary types of data. These defied mime types are known to many operating systems already. The IETF has a process in place to define new object types.

With many applications, I can copy/paste an attached object and the mime headers tell the drop point what the data is. It would be tossing all object identifiers new object identifiers.

> There's a whole other discussion as to whether or not these properties are generally useful - probably not as something only for maintenance.

Workflow is a great topic for iCalendar. Which I think is at the heart of their proposal. Perhaps their draft could be released (when ready) as an informational RFC, simply to document how it is done by several vendors. Then a parallel discussion about workflow would not delay them.

> As an aside having reread the draft - email is not the only possible transport mechanism. CalDAV or some other protocol might be appropriate. Any draft should probably allow for different ways of transporting the messages.

iCalendar is a MIME content type, that does not mean it must be transported via iMIP. And 5545 makes that point in the introduction section. And one reason that 2445 chose it as a MIME content type, was for attachments.

I can not think of any transport that can not transport a multipart MIME object.

I do not see any plus to internalizing any random kind of attachment, inventing a new object identifier, simply to make it a property value. If a need exists, use ATTACH with fmttypeparam set to a mime-type that has been defined or can be registered, and base64 encode it.

Or for  proprietary use, make up an X-PROP and include any proprietary value in any format needed.

-- 

Doug Royer - (http://DougRoyer.US)
Douglas.Royer@gmail.com
714-989-6135