Re: [Json] ABNF nits -- LAST CHANCE ON PROPOSALS

Norbert Lindenberg <ietf@lindenbergsoftware.com> Wed, 12 June 2013 16:13 UTC

Return-Path: <ietf@lindenbergsoftware.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 C948821E804B for <json@ietfa.amsl.com>; Wed, 12 Jun 2013 09:13:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level:
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, J_CHICKENPOX_14=0.6, J_CHICKENPOX_16=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5iXUSw+pv2C0 for <json@ietfa.amsl.com>; Wed, 12 Jun 2013 09:13:27 -0700 (PDT)
Received: from mirach.lunarpages.com (mirach.lunarpages.com [216.97.235.70]) by ietfa.amsl.com (Postfix) with ESMTP id 18CA911E80BA for <json@ietf.org>; Wed, 12 Jun 2013 09:13:27 -0700 (PDT)
Received: from 50-0-136-241.dsl.dynamic.sonic.net ([50.0.136.241]:55209 helo=[192.168.0.5]) by mirach.lunarpages.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from <ietf@lindenbergsoftware.com>) id 1Umnfn-003e5I-Rt; Wed, 12 Jun 2013 09:13:23 -0700
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset=us-ascii
From: Norbert Lindenberg <ietf@lindenbergsoftware.com>
In-Reply-To: <6898D31C-FF53-4B8D-9F81-5519C934E00D@vpnc.org>
Date: Wed, 12 Jun 2013 09:13:20 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <9AB45290-1A3F-402F-A7DC-FEDB97D0FBE0@lindenbergsoftware.com>
References: <6898D31C-FF53-4B8D-9F81-5519C934E00D@vpnc.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
X-Mailer: Apple Mail (2.1283)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - mirach.lunarpages.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lindenbergsoftware.com
X-Get-Message-Sender-Via: mirach.lunarpages.com: authenticated_id: ietf@lindenbergsoftware.com
Cc: Norbert Lindenberg <ietf@lindenbergsoftware.com>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] ABNF nits -- LAST CHANCE ON PROPOSALS
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
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: Wed, 12 Jun 2013 16:13:32 -0000

On Jun 11, 2013, at 10:32 , Paul Hoffman wrote:

> char = unescaped /
>    escape (
>        %x22 /          ; "    quotation mark  U+0022
>        %x5C /          ; \    reverse solidus U+005C
>        %x2F /          ; /    solidus         U+002F
>        %x62 /          ; b    backspace       U+0008
>        %x66 /          ; f    form feed       U+000C
>        %x6E /          ; n    line feed       U+000A
>        %x72 /          ; r    carriage return U+000D
>        %x74 /          ; t    tab             U+0009
>        %x75 4HEXDIG )  ; uXXXX                U+XXXX

The last line isn't quite correct - \uXXXX can not only represent U+XXXX, but also be part of U+YYYYYY, where YYYYYY depends on a preceding or following \uXXXX sequence.

Proposal: Replace "U+XXXX" with "U+XXXX or part of U+YYYYYY".

Norbert