Re: [mile] Artart last call review of draft-ietf-mile-rolie-10

Martin Thomson <martin.thomson@gmail.com> Thu, 14 December 2017 16:38 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: mile@ietfa.amsl.com
Delivered-To: mile@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 082CD1273B1; Thu, 14 Dec 2017 08:38:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, 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 1gnIBGs-7z1X; Thu, 14 Dec 2017 08:38:39 -0800 (PST)
Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (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 1DECD127337; Thu, 14 Dec 2017 08:38:39 -0800 (PST)
Received: by mail-oi0-x22d.google.com with SMTP id y75so4299234oie.4; Thu, 14 Dec 2017 08:38:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=14vYOPrje+/9Eft6ZC36kOPNwj/Tlm8XCl3/0SsogDI=; b=u/D+9NA/PC8XogeJOicG11Jynle9adRuw0SMoLuzzi7Yzv3m5Lt9lTOzHmj6r6IxVQ KBOJFB0rZZ0rLeR7hJEbmY4AiYBtO2m7/hKd5x0L56BBlFOz/ePRF+wBIELkOHocl9UO nQqK1nhwZy2eRc1A9l8eZstHeJszKoCypzuo9liK/HtU6WiaycEZFmHMMvRyIvthX2h3 gr8fOqF2y5Ohv1PLD3dXEpB9vVAWV0/Io28t3sQAnsXzToVdf16arjCvs1ka1gQ2fQX0 h4sFdLXUQRuHneOgJrMB7cT9FqoTYEavEvBiZZm63jDA2nYi/4U4WF4AN7MDGplXkiY4 /iPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=14vYOPrje+/9Eft6ZC36kOPNwj/Tlm8XCl3/0SsogDI=; b=QBK0KJM2Yn3qMef0LgnUSy/eAfepWLBQfsHPXe37IMm6XKM8RadLzc/wEMIU8HJuK/ JNHK8AVGNZfmofgnVLEIEe+FmtjXi0Z5VK4/2RsHgkqG910DRJS6ADqhTrzmvrR1p/UT H5arnayOGNDDlAZCrFFt43esY7oLi7l1fcNyxN/NUo3AxlZj+VDvgZ12CSgKtqroTvkF Qp5ut31sghS2BU6u+Cqm/FQQzU3Yg6PRT7R2Vbl/8K8o5QjOCUvaJrGXamrAETiqGAhx U5b+DFA86ZQ3CeWVQyKgzJgZsxjH2Txvy5+naqWjfmm0D8rw99FLB/EzTlCGaZ5S3/pp nuXg==
X-Gm-Message-State: AKGB3mIGb7jRkbRk420d0+o2rfqYMJ5sWGNzZasxLg5uUnPbEim4ALUf 3kGKiI+YzKIztjrqM7bD+4lueQjz04yeGn/9PSnD9A==
X-Google-Smtp-Source: ACJfBou3qB1tjPqfcvbaI4kHQ0XBJm5Q1/37h22O8rj+o0E2LSCCl23X+H2+1hnpCMbnIsFF7lbTuqop/tbzukeLcF4=
X-Received: by 10.202.166.206 with SMTP id t75mr4965103oij.28.1513269518332; Thu, 14 Dec 2017 08:38:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.8.11 with HTTP; Thu, 14 Dec 2017 08:38:37 -0800 (PST)
In-Reply-To: <CY4PR09MB14958B4A0E57C69EE29D9CCBF00A0@CY4PR09MB1495.namprd09.prod.outlook.com>
References: <150752570618.18384.5615358468704377459@ietfa.amsl.com> <DM5PR09MB13070FC0B54EB6DB8C707EE7F0420@DM5PR09MB1307.namprd09.prod.outlook.com> <CABkgnnX5NVZgYtOWYMgD5yEOmdnk2GEZuyR2OLNDwbTO-BytAw@mail.gmail.com> <CABkgnnWhtGJG9Td4-9Rhv--F9pTCdnOAiRBtXL8hW8LJoOugkQ@mail.gmail.com> <MWHPR09MB11979FC6BD45C13589C99AA5F05D0@MWHPR09MB1197.namprd09.prod.outlook.com> <CABkgnnVucswghLsXi8h7tJC-gNhkPS6Ykdtb-dxv1MzKnquf9w@mail.gmail.com> <BN6PR09MB1491F1B7EB8E2262705BCBAAF0320@BN6PR09MB1491.namprd09.prod.outlook.com> <CABkgnnVufhudp-HWSA519kFAGjH0odTxCT2CyGYuiD6-XMpukg@mail.gmail.com> <CY4PR09MB14958B4A0E57C69EE29D9CCBF00A0@CY4PR09MB1495.namprd09.prod.outlook.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 14 Dec 2017 10:38:37 -0600
Message-ID: <CABkgnnWjoQFKxeK+drEq8Q2-DmakoMBVF3G_bVgt0LirgQ4=Ww@mail.gmail.com>
To: "Waltermire, David A. (Fed)" <david.waltermire@nist.gov>
Cc: "Banghart, Stephen A. (Fed)" <stephen.banghart@nist.gov>, "mile@ietf.org" <mile@ietf.org>, "draft-ietf-mile-rolie.all@ietf.org" <draft-ietf-mile-rolie.all@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/mile/wqFsiD1HtD2vW9zyzulSbnOuEBA>
Subject: Re: [mile] Artart last call review of draft-ietf-mile-rolie-10
X-BeenThere: mile@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Managed Incident Lightweight Exchange, IODEF extensions and RID exchanges" <mile.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mile>, <mailto:mile-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mile/>
List-Post: <mailto:mile@ietf.org>
List-Help: <mailto:mile-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mile>, <mailto:mile-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Dec 2017 16:38:41 -0000

Hi Dave, I think that you are underestimating the cost of each of
these, but it's ultimately your document and your responsibility.  I
won't continue to try to convince you further :)

On Thu, Dec 14, 2017 at 8:32 AM, Waltermire, David A. (Fed)
<david.waltermire@nist.gov> wrote:
> Martin,
>
>> Apologies for delays; travel.
>
> No worries.
>
>> On Wed, Dec 6, 2017 at 3:28 PM, Waltermire, David A. (Fed)
>> <david.waltermire@nist.gov> wrote:
>> > I agree that media types would be ideal here, but they are insufficient for what
>> we are trying to accomplish in ROLIE. Let's use a ROLIE entry for an IODEF
>> resource as an example. A notional example ROLIE entry might look like this:
>> [...]
>> > In the example, the <rolie:format> element informs the client that the content
>> is IODEF v2 content, which can then be used by the client to make a decision to
>> filter or download the content. The client may choose to filter if it doesn't
>> support IODEF 2.0 as an example.
>>
>> Why would defining "application/iodefv2+xml" be worse than this?  It's simpler.
>> It fits with a bunch of other mechanisms.  A new, bespoke format that is more
>> complex, yet still inadequate, is strictly worse in my opinion and experience.
>
> I am agreeing with you that defining "application/iodefv2+xml" is better, but creating new media types for arbitrary formats is not the responsibility of ROLIE. The specifications for these things should be doing this. What we are providing through rolie:format is a way to address the less-than-ideal case of having no specific media type. The consensus of the WG was that this is needed.
>
> In cases where a specific media type is provided, we could change the requirement making rolie:format optional. This would support the ideal case of using a media type without the rolie:format element and the less-than-ideal case of using something like "application/ xml" + rolie:format. We can work on some text if this sounds like a good compromise. Are you ok with this approach?
>
>> > A primary reason in my mind is that we are looking for an approach that will
>> map to JSON objects easily. We are working on new drafts for representing
>> ROLIE feeds in JSON and CBOR. In such an approach, use of a URN-based
>> property table (with indexes for CBOR) provides a path that can be more easily
>> translated to JSON as compared to using ns+localname. We are willing to forego
>> some constraints in the grammar to make JSON and CBOR an easier proposition
>> for this application.
>>
>> I'm not sure that I find this any more persuasive.  ns+localname is trivial to map
>> to JSON provided you stick to simple types for values.
>
> There are pros and cons on both sides of the argument. We have a good technical rationale for the text in the draft; we are willing to give up some validation to allow for a clearer path forward with JSON/CBOR. Can we agree to disagree and move forward on this one?
>
> Thanks,
> Dave