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

Martin Thomson <martin.thomson@gmail.com> Thu, 14 December 2017 19:18 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 865C8129466; Thu, 14 Dec 2017 11:18:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, 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 88ISIXv-RhC5; Thu, 14 Dec 2017 11:18:45 -0800 (PST)
Received: from mail-ot0-x230.google.com (mail-ot0-x230.google.com [IPv6:2607:f8b0:4003:c0f::230]) (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 D19A5129465; Thu, 14 Dec 2017 11:18:36 -0800 (PST)
Received: by mail-ot0-x230.google.com with SMTP id y10so5839719otg.10; Thu, 14 Dec 2017 11:18:36 -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; bh=IJ5WVDDzJiaeiSY+IVAqZ2/DXj/qOkWkTFV1SqVocho=; b=grt6bUZ476vMNSofpYfcnGsMHdC1aNu6viyXJ0PAWlE9fezCxh9yontH/7qpstpTOC NYd+gAtTQs1CISTfxbkyOOZEQh3iK4+x08D+h7C+yGtaX98lTcLLxnt6xmMinwpc+A9O 8xTxc0ht9ICPln7SDnaYQETb0KeZ4XOQDKhPPR7gv/GLcM+Ad63XFI38fdOSrb0+nF/G UMNCqZWi/3b3EDC05nrY/q1cV/Z+smb26OY0OogRyb1MsWU54UEDnYkgISplMth2s5GN 0OpkoYKTsin7RCG0g5jnr+kDMxe2ZTeF1VvhV7vuYngtxXifH0b9qsxPbWlf0X5ub3mD qaaA==
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; bh=IJ5WVDDzJiaeiSY+IVAqZ2/DXj/qOkWkTFV1SqVocho=; b=BKpzar8VcE7jGRSUTB9pPuoB+S/yfWBsgFoBCMHOZte3k4mjSETMJHmbPbTeUhmWNb iZZLs95u8qu3p/WST2JyngT+QA73uvUIeHN3AFXOrVyy9eDTGAh08YPqALbCJ/y7JRZN IzqrmMyOKkFt7GIckVysuY9QfCr4D35P/qprDBeupF+AOL32hvqnR13ENykgboCIMvPe EeZUYIF6AKEkzpWFthXpxqoHW4pBsU0vJSyNmt3UjVjyw5p+6syi6cbnX2mgQJrX+33X f6uiDCXl4K8zGJNsBHSQN+ZQkMX1n+N+uMX1thCNabWS8FWivZxQElRvSfnFU/TwUueS uqKA==
X-Gm-Message-State: AKGB3mJqI++ly+Dq+z9rYsrBmitVy/lWickEW5Zg0Ki7CE9JWtk32ES6 izkR4b4Zbdp/+prTvBS3PaGeYlBM8N+FedPnIOg2Dg==
X-Google-Smtp-Source: ACJfBouPnAdvp97vRHDpWhVlrXqQFiFyhMTVcNwNRBIGb8yiJThmQoD/cfCnbKmTNn5jc+PnF8dig44MRZWZMPP7K98=
X-Received: by 10.157.32.19 with SMTP id n19mr5995861ota.133.1513279116139; Thu, 14 Dec 2017 11:18:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.8.11 with HTTP; Thu, 14 Dec 2017 11:18:35 -0800 (PST)
In-Reply-To: <CY4PR09MB1192933FF72165293CEA6749F00A0@CY4PR09MB1192.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> <CABkgnnWjoQFKxeK+drEq8Q2-DmakoMBVF3G_bVgt0LirgQ4=Ww@mail.gmail.com> <CY4PR09MB1192933FF72165293CEA6749F00A0@CY4PR09MB1192.namprd09.prod.outlook.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 14 Dec 2017 13:18:35 -0600
Message-ID: <CABkgnnVap23DowyBxfNbL5yxVOMOq3rrcwHt9AOvE7dyotP_9A@mail.gmail.com>
To: "Banghart, Stephen A. (Fed)" <stephen.banghart@nist.gov>
Cc: "Waltermire, David A. (Fed)" <david.waltermire@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"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mile/6kFY28c2dWJCnzfsyrZp109Kl7I>
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 19:18:48 -0000

Looks good.

Nit: The brace alignment in the relaxng schema in Appendix A is a
little strange.

On Thu, Dec 14, 2017 at 1:14 PM, Banghart, Stephen A. (Fed)
<stephen.banghart@nist.gov> wrote:
> Martin,
>
> We've posted a new version (-16) with the rolie:format changes as discussed. Thank you again for your work in reviewing the document, it has been extremely helpful in improving the draft throughout these last several draft iterations.
>
> Thanks,
> Stephen Banghart
>
>> -----Original Message-----
>> From: Martin Thomson [mailto:martin.thomson@gmail.com]
>> Sent: Thursday, December 14, 2017 11:39 AM
>> To: Waltermire, David A. (Fed) <david.waltermire@nist.gov>
>> Cc: Banghart, Stephen A. (Fed) <stephen.banghart@nist.gov>;
>> mile@ietf.org; draft-ietf-mile-rolie.all@ietf.org
>> Subject: Re: [mile] Artart last call review of draft-ietf-mile-rolie-10
>>
>> 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