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

Martin Thomson <martin.thomson@gmail.com> Tue, 12 December 2017 23: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 3790B126CBF; Tue, 12 Dec 2017 15:38:39 -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 ZEU0EvJitjSL; Tue, 12 Dec 2017 15:38:37 -0800 (PST)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 90A91126C19; Tue, 12 Dec 2017 15:38:37 -0800 (PST)
Received: by mail-oi0-x22f.google.com with SMTP id j17so425505oih.3; Tue, 12 Dec 2017 15:38:37 -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=9U053uCOtPspddZueKD6hAhaqBEQAvFxcWWNxL9qyAo=; b=W16xoOH0ajfPrVTSmDZ8GnUAV9ff/SdgCJC9+D75QJmRa27Po7BecxUf1BZL6E7XB3 KZU0OPu8zpcI8U7S4U8FKAGurk0Fh71Z9DAQAIKTPt76ubdQlZP6/uvAtVuHMtr+1NAy mhOpKLTDpcibC9IZYQMCViRVh+yoE34bY6xcVwA/d+MAs/j5Qf1xueopEEyoW/20kNkx Y+o7t1HNFaixRF4rCPIcvcvCbhEsX2LedPwezM30hza8KKroRuHfUJL0lKvaDIXoeZFN TTqi+A2vjr8Gqjro0aQ6Bayp0BJIZL2xHrZsHz3P/+pu7Uv7l/lFknde4veT8hQXnLTZ yQUg==
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=9U053uCOtPspddZueKD6hAhaqBEQAvFxcWWNxL9qyAo=; b=esincX0PTGUp5g6oWwQCtdjbHDo0HKCyM+TdhrTsPFEQMqDud2H6xxKR7D+gj57Jq7 JUDwIM027sTc7sQu4Tt58jtpCQFMKEda7iiA2RxzqXRzLv4JUcTX4f836uhSHQe7fjUM qBeoFp18Hv4IWKhXRHAnWw3QeoBJKzLL+CjiHO2Qgr7zQa+vpPEmbYUaoWEQVp+dOcnN 8n2eXq3XB1Y5bFV28X0C6ozohh1v65y/TWgdti4QggkCFeVc7pAPogWSoZVdAP920fUW xOZnLRsoiucYY6jegWuAdMlFCr7N304SDkjhF20Bz5Ewk34uDd6pyku6q2SaA3Q90ugi dIng==
X-Gm-Message-State: AKGB3mK36ZFhshVjjybuSBn3zGYlNzAnIRbxnauCx3qMt3vQAenFjwHp aSNLnPuKLCw9DXsTg2Tq6hmLNLXxOe7eKiEhz1g=
X-Google-Smtp-Source: ACJfBou7b5OuZyEwDC5fphjT0BVZP9eabqu/E7uLzEMT8JjCSLD2jQJAA6Ra9jqxn5UR02fPMhoTD2fgORD6/IJIwkk=
X-Received: by 10.202.61.6 with SMTP id k6mr404034oia.273.1513121916728; Tue, 12 Dec 2017 15:38:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.8.11 with HTTP; Tue, 12 Dec 2017 15:38:36 -0800 (PST)
In-Reply-To: <BN6PR09MB1491F1B7EB8E2262705BCBAAF0320@BN6PR09MB1491.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>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 12 Dec 2017 17:38:36 -0600
Message-ID: <CABkgnnVufhudp-HWSA519kFAGjH0odTxCT2CyGYuiD6-XMpukg@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/UJNm5BHM0-XulciNXYNTBCXVd3g>
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: Tue, 12 Dec 2017 23:38:39 -0000

Apologies for delays; travel.

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.

> 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.