Re: [arch-d] draft-iab-protocol-maintenance / JSON feedback

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 18 July 2022 21:12 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: architecture-discuss@ietfa.amsl.com
Delivered-To: architecture-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E73DC157B3A for <architecture-discuss@ietfa.amsl.com>; Mon, 18 Jul 2022 14:12:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WJW363tsRf0y for <architecture-discuss@ietfa.amsl.com>; Mon, 18 Jul 2022 14:12:32 -0700 (PDT)
Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98138C14F74C for <architecture-discuss@ietf.org>; Mon, 18 Jul 2022 14:12:32 -0700 (PDT)
Received: by mail-pj1-x1031.google.com with SMTP id cp18-20020a17090afb9200b001ef79e8484aso180623pjb.1 for <architecture-discuss@ietf.org>; Mon, 18 Jul 2022 14:12:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=rJWhZ0Y9EGAf7rCGvcaDDDuWiE0ECQFDcoQjmiYF8i0=; b=XKzIaQL4fMJeeUyGeAkKARIPp94QrObdGfr3HtX7byd2I4AqtJYaDCrwRfHFiAqVo/ 5vJtzUR28bkRhKGJJD+HuuyQklSa2nIWKok+amc3lMgtBxkB15OmumfV9RY2vv33vuxs MR0CfbEdSl5wMqRGgQB2LHfd5mcA8KZ90MS9jmEJUPrfjT4gckrydXmeM0b8SM6NDTPk zWgSkcfuIwbNQRvRd4cwZ3Z3CZWKzOs3q0+7qOUbSei45FP4XY2tj4SSBMs3kqAsCnzr ezRS2ZlwU5bh2mNVH9FTnIEErUuGz41ZzqUWlNRZeut11gpx11gBZcTLdfbWWpkIBLDl Uk4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=rJWhZ0Y9EGAf7rCGvcaDDDuWiE0ECQFDcoQjmiYF8i0=; b=4vY+x9lqlCoQLivAcA1RJyfV4Fyhc4Tggtdn+QRQS2kmCYzr8UTwajbYKTm44bSb3x SV8trcLXYJvmACAJLAiyHmjQ/3cxSKgM2hzdKARKBZ2VJn+DN9YGSu6AnQ7kjY9Fu+7h Oz8h+dlu2hc+CwO9tp+G2pQUYV0RkySvBVECE2s1KyGqlp4TNyYCLDg0OITPkhXxZE58 Gnv2g2pzO21bATEm/PrLB0X6Xeeu3H37hWKscMOZuj3Z4oYBC/jWIDLqWYQ0fzLe8KN7 IdsYIiImvssQIMwhxvunf18MpYBsEBKxbQDtdLUzEHF06Pg33BqDGpJku4ZGqFnG7/rW MTuA==
X-Gm-Message-State: AJIora8J1K7XxehgsRoqqYm/yRcPMrkwXH3BfyOV2VSaENzR3Or6AiM8 HT8FNtD5SOiAFrKYGeFDCvpCLzUvLi0APw==
X-Google-Smtp-Source: AGRyM1vJU9QfohTIYpdC+fYktSA3siNtDEbzB75qN4w/prdPoDe8kOAH3DnpSyRpAiVMNUxOrIT+iQ==
X-Received: by 2002:a17:90a:f415:b0:1ef:8811:e0c7 with SMTP id ch21-20020a17090af41500b001ef8811e0c7mr34458658pjb.130.1658178751920; Mon, 18 Jul 2022 14:12:31 -0700 (PDT)
Received: from ?IPV6:2406:e003:1124:9301:80b2:5c79:2266:e431? ([2406:e003:1124:9301:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id c17-20020aa79531000000b0051bbe085f16sm9697483pfp.104.2022.07.18.14.12.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jul 2022 14:12:31 -0700 (PDT)
Message-ID: <9467e00c-0d9c-d0bd-6556-d22901783eb0@gmail.com>
Date: Tue, 19 Jul 2022 09:12:28 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
To: Paul Hoffman <paul.hoffman@vpnc.org>, architecture-discuss@ietf.org
References: <CAChr6Sxy66Yrr=0wnSGOUFBboFBaJsWzrWduvXep9L5akmYiNg@mail.gmail.com> <5a9857d7-9923-46e1-9535-16663f51bc6f@www.fastmail.com> <02490878-5A5F-43EB-AFD4-265A3FD6849B@tzi.org> <FC92582C-C77B-4EA2-BAC4-B1CCBA941B05@vpnc.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <FC92582C-C77B-4EA2-BAC4-B1CCBA941B05@vpnc.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/architecture-discuss/UyvKVNgArOTPl0hAGZ5_9vsIB68>
Subject: Re: [arch-d] draft-iab-protocol-maintenance / JSON feedback
X-BeenThere: architecture-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: open discussion forum for long/wide-range architectural issues <architecture-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/architecture-discuss>, <mailto:architecture-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/architecture-discuss/>
List-Post: <mailto:architecture-discuss@ietf.org>
List-Help: <mailto:architecture-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/architecture-discuss>, <mailto:architecture-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jul 2022 21:12:33 -0000

Also, a little bit of IETF self-examination is called for.

Let me quote from the datatracker history of what became RFC4627:

"I had to read quite a bit of the document before I realized that this document basically is just requesting a MIME-type registration and has good documentation to go with it first." (from Bert Wijnen)

The IETF didn't really review the original JSON spec as such. We reviewed a MIME type registration and concluded that the associated specification was sufficient. That doesn't say much about the robustness principle. It wasn't reviewed as a protocol, just as a data format, and it wasn't a standards track document.

(For the record: I was IESG Chair at the time and I balloted No Objection.)

Personally, if I ever have to write to code to receive and interpret JSON, I will strive to make it as tolerant as possible, since it seems likely that different sources will produce different variants. That doesn't mean that the existence of such variants is desirable, but any implication that people *designed* those variants in the hope that a receiver would apply the robustness principle seems wrong to me. I think Carsten's history makes that clear.

Regards
    Brian Carpenter

On 19-Jul-22 02:05, Paul Hoffman wrote:
> Carsten's detailed history of JSON (which I fully agree with, having
> been there for it in different roles) again points out the difficulty of
> draft-iab-protocol-maintenance: many of the definitive statements in it
> about what worked/works and what didn't/doesn't are easy to get wrong
> due to limited viewpoints. Having bad examples weakens the overall goal
> of the document, and many readers might be turned off to the document
> once they hit the second example they disagree with.
> 
> --Paul Hoffman
> 
> _______________________________________________
> Architecture-discuss mailing list
> Architecture-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/architecture-discuss
> .