[Json] [Errata Rejected] RFC7159 (3983)

RFC Errata System <rfc-editor@rfc-editor.org> Fri, 16 May 2014 18:44 UTC

Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 020D51A030C; Fri, 16 May 2014 11:44:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.853
X-Spam-Level:
X-Spam-Status: No, score=-104.853 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham
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 liC_LwVQiGI6; Fri, 16 May 2014 11:44:07 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) by ietfa.amsl.com (Postfix) with ESMTP id A21211A02DA; Fri, 16 May 2014 11:44:07 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 3D43F180095; Fri, 16 May 2014 11:42:57 -0700 (PDT)
To: alainb06@free.fr, tbray@textuality.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20140516184257.3D43F180095@rfc-editor.org>
Date: Fri, 16 May 2014 11:42:57 -0700
Archived-At: http://mailarchive.ietf.org/arch/msg/json/Y0JAYROoqFEDDQP3UyKNz_41iLk
Cc: presnick@qti.qualcomm.com, rfc-editor@rfc-editor.org, iesg@ietf.org, json@ietf.org
Subject: [Json] [Errata Rejected] RFC7159 (3983)
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 16 May 2014 18:44:09 -0000

The following errata report has been rejected for RFC7159,
"The JavaScript Object Notation (JSON) Data Interchange Format".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=7159&eid=3983

--------------------------------------
Status: Rejected
Type: Technical

Reported by: Alain BENEDETTI <alainb06@free.fr>
Date Reported: 2014-05-09
Rejected by: Pete Resnick (IESG)

Section: 2.

Original Text
-------------
JSON-text = ws value ws

Corrected Text
--------------
JSON-text = [BOM] ws value ws

BOM = %xFEFF

Notes
-----
Section 8.1 states:
[START QUOTE]
(...) implementations that parse JSON texts *MAY* ignore the presence of a byte order mark rather than treating it as an error.
[END QUOTE]

Indeed that means that a BOM *CAN* occur, and *MAY* be accepted instead of returning an error. So, if the BOM can be accepted, the grammar is incomplete as it does not show it.

Furthermore, about BOMs, see my other comments.
 --VERIFIER NOTES-- 
The WG was clear that syntactically, the BOM is not part of a valid JSON-text, but implementation advice included that if one appears, it MAY be ignored. The document is correct as-is.

--------------------------------------
RFC7159 (draft-ietf-json-rfc4627bis-rfc7159bis)
--------------------------------------
Title               : The JavaScript Object Notation (JSON) Data Interchange Format
Publication Date    : March 2014
Author(s)           : T. Bray, Ed.
Category            : PROPOSED STANDARD
Source              : JavaScript Object Notation
Area                : Applications
Stream              : IETF
Verifying Party     : IESG