Re: [Json] [Technical Errata Reported] RFC8259 (7603)

Rob Sayre <sayrer@gmail.com> Tue, 15 August 2023 15:48 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 48AF6C14EB1E for <json@ietfa.amsl.com>; Tue, 15 Aug 2023 08:48:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable 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 zxvZWa7mA-Ph for <json@ietfa.amsl.com>; Tue, 15 Aug 2023 08:48:40 -0700 (PDT)
Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 7AF42C14EB19 for <json@ietf.org>; Tue, 15 Aug 2023 08:48:40 -0700 (PDT)
Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-99c4923195dso754166766b.2 for <json@ietf.org>; Tue, 15 Aug 2023 08:48:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692114519; x=1692719319; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FPwXKsEbm5DNvHsBhYa8XVdbnzN31YILVHGaSEU8KUw=; b=cETJqSBDyS2Pc+vVE27sGfR6NuDdp0GyetigUg/2GjgQDTWt2I0eQYrOHStnCt6+J4 vKrq6wk2c+sTH3UnI22w3q+gC4IKSbE3j7LYABvdbiA536zZc6+TypA/SBX9/jrQfxEo 4MGKIsd5hC79spARSEusngYwQxLOh+dh1uHAa53XKjZKLSgKX/kkUUXWrmGz7jY38O8J +e4GVP5OYTqTecrK/AOiWfTTHXd7TV/acizdfmmOVcs3mVrVyrOIQmBMYBGFYNupmExS wHm403Naia2E8WrGekB5TS+1YbeCCkqBc6Gm4Y7rh1Ett0IQ2OwWZOIcTS79sIVVONsA IEVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692114519; x=1692719319; 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=FPwXKsEbm5DNvHsBhYa8XVdbnzN31YILVHGaSEU8KUw=; b=jjDcwh7UpfS+gBeTbGqhqZ8WyrvWW+0+rTXCCLhjNYRZ1Av8xEPvqtaa+Do4EcQkj/ I534yk8zX3bWl/5biH80D686kDyLDTtZY86rQaFC7qit5vV93wpwNcphV6suixQ/4TZJ Ne9FwQTNkgMJmXrFaZQD1KdodXAqtyUnL46aL4ntuyBVbcwUxkxUYgRxjsiM9+gLkYEx hrw2yNuW/ER7lTSutZR2wQD2qWoStROhhBozTeyc1NljoOH2vsC0DcIO0rkFNRqiBsCo 3ioaZJy6MhtkRwymHEo2qHYQ2gXdCwR0pEA+uQWvqweIHwaZn1emeguKiI4tJm7ymGrQ Fo5Q==
X-Gm-Message-State: AOJu0YysJF+jNAOOCINdXbSAMx9wSG5ttCzY69S+vKEjG+PlQM4zUmg6 mCa09N2zAEBnL2IPHjHv3zwwKJ5NyDuLso9oPhM=
X-Google-Smtp-Source: AGHT+IHjkHEj59eFriebUXCpmJBOOtKEoG9e5TUS5QgXQ/xeEZNRZpDwP64bo08kSgZ9iViQsnxkQHznRYkubgzqj+k=
X-Received: by 2002:a17:906:9bec:b0:99b:605b:1f49 with SMTP id de44-20020a1709069bec00b0099b605b1f49mr9927225ejc.36.1692114518518; Tue, 15 Aug 2023 08:48:38 -0700 (PDT)
MIME-Version: 1.0
References: <20230813200941.250C13E8A7@rfcpa.amsl.com> <2E0F84CF-809D-4325-B60E-16FC2839E027@tzi.org> <CAChr6SwZ2xuoqX-pu0XYs+UApgub0tVj2JLYcDo_A6779UyeBg@mail.gmail.com> <046AD774-0C78-4C8C-B901-A11F9EB11898@tzi.org> <CAChr6Sy+BLHmyW-Ac3QQBwpCC04+nQiwXFdnCEwoX4UKdxxWLA@mail.gmail.com> <EDA32D2B-FAFC-4126-B3A8-91422511D288@tzi.org> <CAChr6SwCwrjSrWDqhbqaubcMWuY58sofzTOW_eACC0Gvnxuptw@mail.gmail.com> <CAHBU6iuX17F6QBa2kx8odvK3KBauku1nv8Wsb=7NJ9=D3MbB5A@mail.gmail.com>
In-Reply-To: <CAHBU6iuX17F6QBa2kx8odvK3KBauku1nv8Wsb=7NJ9=D3MbB5A@mail.gmail.com>
From: Rob Sayre <sayrer@gmail.com>
Date: Tue, 15 Aug 2023 08:48:27 -0700
Message-ID: <CAChr6SwPQc96Z_86gh1et8=EcwLkSmzrjBCFxqHA5cYo1PwU0g@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: RFC Errata System <rfc-editor@rfc-editor.org>, "Murray S. Kucherawy" <superuser@gmail.com>, Francesca Palombini <francesca.palombini@ericsson.com>, linuxwolf+ietf@outer-planes.net, Guillaume Fortin-Debigaré <guillaume.fortin@debigare.com>, json@ietf.org, Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary="000000000000cbb14a0602f81cf6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/ZmovQBxPXXUmnksH_YKNsgAwLGI>
Subject: Re: [Json] [Technical Errata Reported] RFC8259 (7603)
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, 15 Aug 2023 15:48:42 -0000

On Tue, Aug 15, 2023 at 8:35 AM Tim Bray <tbray@textuality.com> wrote:

> Um, no. The introduction says "A string is a sequence of zero or more
> Unicode characters [UNICODE].” And section 8, Strings, says "All Unicode
> characters may be placed within the quotation marks, except for the
> characters that MUST be escaped:  quotation mark, reverse solidus, and the
> control characters (U+0000 through U+001F).”  Granted, the language in 8.2
> suffers from the same problem."
>

Sorry, I pasted the correction instead of the original introduction text.

I think the correction is fine as it stands, because the document goes into
detail in the strings paragraphs. I showed 8.2 to illustrate that the WG
accepted the ugly unicode handling that's been inherited.

Even in your correction, you don't mention the quotation mark, for example.
So I don't think you need to mention the control characters either.

thanks,
Rob





>
> On Aug 15, 2023 at 8:30:14 AM, Rob Sayre <sayrer@gmail.com> wrote:
>
>> No, sorry, it's a bug.The issue here is that the introduction says:
>>
>> "A string is a sequence of zero or more Unicode code points [UNICODE]."
>>
>> but 8.2 says:
>>
>> "When all the strings represented in a JSON text are composed entirely of
>> Unicode characters [UNICODE] (however escaped)..."
>>
>> thanks,
>> Rob
>>
>>
>> On Tue, Aug 15, 2023 at 7:27 AM Carsten Bormann <cabo@tzi.org> wrote:
>>
>>> I don’t want to prolong this exchange, but I need to point out:
>>>
>>> > On 15. Aug 2023, at 08:41, Rob Sayre <sayrer@gmail.com> wrote:
>>> >
>>> > I think you are in the rough here.
>>>
>>> Wrong script, we are not in a WG meeting here.
>>>
>>> We have an approved document.
>>> That says something (and has done so for 5.5 years since publication).
>>> There is a proposal to make a material change.
>>> This change is not needed (and hasn’t been for 5.5 years).
>>>
>>> Until we start a -bis process, this change should not be made.
>>>
>>> If the people who have to decide this don’t want to outright reject the
>>> change, they can always HFDU.
>>> (This would still give the proposed change some luster that it shouldn’t
>>> get, but it is a valid option.)
>>>
>>> Grüße, Carsten
>>>
>>>