Re: [Json] Proposal: Code points and surrogates

John Cowan <cowan@mercury.ccil.org> Sun, 23 June 2013 05:47 UTC

Return-Path: <cowan@ccil.org>
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 967A521F9BB9 for <json@ietfa.amsl.com>; Sat, 22 Jun 2013 22:47:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.461
X-Spam-Level:
X-Spam-Status: No, score=-3.461 tagged_above=-999 required=5 tests=[AWL=0.138, BAYES_00=-2.599, 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 dTPNKtw9m7Ih for <json@ietfa.amsl.com>; Sat, 22 Jun 2013 22:47:38 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 488DB21F9C09 for <json@ietf.org>; Sat, 22 Jun 2013 22:47:38 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1Uqd9B-0003Y9-Lk; Sun, 23 Jun 2013 01:47:33 -0400
Date: Sun, 23 Jun 2013 01:47:33 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Norbert Lindenberg <ietf@lindenbergsoftware.com>
Message-ID: <20130623054733.GA13346@mercury.ccil.org>
References: <05A7D2E5-C119-4900-B52B-54B0F1206300@lindenbergsoftware.com> <DA178D7D-4398-4CA9-97B1-F97EB111E9B4@tzi.org> <64BAD44A-6C70-409E-BC93-0ED72E48AF49@lindenbergsoftware.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <64BAD44A-6C70-409E-BC93-0ED72E48AF49@lindenbergsoftware.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: Carsten Bormann <cabo@tzi.org>, json@ietf.org
Subject: Re: [Json] Proposal: Code points and surrogates
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: Sun, 23 Jun 2013 05:47:42 -0000

Norbert Lindenberg scripsit:

> According to the last sentence of section 4, parsers are not required
> to accept any characters or code points at all.

According to my reading of Section 4 as a whole, they are required to accept
all JSON texts at first, but then are free to reject them afterwards.

-- 
We do, doodley do, doodley do, doodley do,        John Cowan <cowan@ccil.org>
What we must, muddily must, muddily must, muddily must; 
Muddily do, muddily do, muddily do, muddily do,    http://www.ccil.org/~cowan
Until we bust, bodily bust, bodily bust, bodily bust.  --Bokonon