Re: [Json] Erratum update: "JSON is a subset of JavaScript"

Rob Sayre <sayrer@gmail.com> Tue, 29 August 2023 19:12 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CECAC15C522 for <json@ietfa.amsl.com>; Tue, 29 Aug 2023 12:12:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 FpR07jx7Yw4P for <json@ietfa.amsl.com>; Tue, 29 Aug 2023 12:12:13 -0700 (PDT)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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 D7342C15257C for <json@ietf.org>; Tue, 29 Aug 2023 12:12:13 -0700 (PDT)
Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4ff9b389677so7434140e87.3 for <json@ietf.org>; Tue, 29 Aug 2023 12:12:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693336332; x=1693941132; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VTR+qjAUDjnV+QrPgzhMXal2c7Io3BHxPxJ9vMby5aI=; b=Pa+MJJifqZ/9caefOTkOXdae6WfwaeqgvMAobxBwfFs5AE8EjF9MImZpvK3N54pjZP Uf16Fqs1VvMMmo8mRt343QuUebA/B8L8p7V6/YbY5zS6KGMgLRA/SDCs28Q9UGfFvlzj csVNrRBjdq4VGZieNMleKiAom+T25uvS7SPDU6faeZadOX+UMVrnuofOCMvs+Je1GBNq dMxKnCPoVvx4Zd3Z18V9U9PxI5TNwSEeFxsakqDQDQxUN67Q7T8aqFzXwGc54sT6MnHe Ny/2xmK06thWVY4SZrO0u/KkV6a1kbR+MpSR3e+eFcQpGgV6rgl4nitdvtP6DTqdbQIi UKMQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693336332; x=1693941132; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VTR+qjAUDjnV+QrPgzhMXal2c7Io3BHxPxJ9vMby5aI=; b=jzKHoP36noFlYaVDxiPRSm6VGQokOgLYsIDtNmv5Y3j4lSOvpF3d/H797wxJjeKuA9 WdUWSt/DsgiskUp8XINRu82ARRXQ3CQeJGxsR8r9Z/sz9j7WP4GIbru7vv7DrRTFjMrY nBuzN2Ryw4oe4SzRvoFS9GgmEZLdsyg2QIRK/R48DJ2ejm/+RyjVzwDIZqeSuIgFeT1A wwAQJIAOCsaPk3bamP1U/jkMnnuPydYEMg5PkL6kUCl3FMKVnbKQMRbeBGf/FhB4HGA1 BJO+8ltOPymN0kqsQNNFgqat1JnGoTXWNnSYkLOqfL3XMrG8HClNwXJh2CZkAebumQ9A lujA==
X-Gm-Message-State: AOJu0Yx0mbTai8ELkkDCoADuLwIZmq/T/IpB/xPOm1q1EtRMCib0hPg1 DaGVKRzq6IWJP5atywV/KcZu6BpO6+RTB2fd9njPvsH7tNY=
X-Google-Smtp-Source: AGHT+IEhvwrSu5JsQJ6+dnSjzoA+l58WPMGIs84rg1F+XvnZJXUb0coN8o/+sM4XqpOTjQfyWW0AXJFsddpbc5gnddQ=
X-Received: by 2002:a05:6512:11e3:b0:4fb:ca59:42d7 with SMTP id p3-20020a05651211e300b004fbca5942d7mr19390845lfs.33.1693336331462; Tue, 29 Aug 2023 12:12:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAChr6SxFx=v_1HF0b4T662Cc24S=19L9va0rYJ52g5FNfnqwAg@mail.gmail.com> <CE3E7F08-F1DE-414D-AD2D-617E49CD5709@tzi.org>
In-Reply-To: <CE3E7F08-F1DE-414D-AD2D-617E49CD5709@tzi.org>
From: Rob Sayre <sayrer@gmail.com>
Date: Tue, 29 Aug 2023 12:12:00 -0700
Message-ID: <CAChr6SwvaSSOxyD8-Gv_+PSyF7nFNu1dR4uNjMy9yH2k_JiDRA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: JSON WG <json@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000085af000604149623"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/n7BvAYV7OKtLbWFvzBfyh6TrWTw>
Subject: Re: [Json] Erratum update: "JSON is a subset of JavaScript"
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Aug 2023 19:12:14 -0000

On Tue, Aug 29, 2023 at 11:58 AM Carsten Bormann <cabo@tzi.org> wrote:

> On 2023-08-29, at 20:44, Rob Sayre <sayrer@gmail.com> wrote:
> >
> > So, I think we can reject this one, as the proposed change will become
> increasingly incorrect.
>
> Indeed.
>
> RFC 8259 references “ECMAScript Programming Language Standard, Third
> Edition [ECMA-262]”, for which the errata report is valid.
> But “JavaScript" is what it is now, so this errata report no longer serves
> a purpose.
> (One could explain that there used to be a problem with that statement,
> and that the problem is now fixed.  But it is enough to explain this in the
> verifier notes.)
>
> Sometimes letting an errata report sit for half a decade does have its
> advantages :-)
>

Yes. I thought about that reference to the third edition, but ECMA-262 is
only an informative reference. Besides, ES5 was completed in 2009, so it
was a really old reference at the time the RFC was published.

The words "subset of JavaScript" appear twice. The first instance, about
design goals, is not an error. These two characters happened to foil the
design goals. The second instance is in the Security Considerations, and I
think this distinction is not too important there. Now, the issue is fixed.

thanks,
Rob