Re: [Json] Consensus call: ABNF nits

Tim Bray <tbray@textuality.com> Fri, 21 June 2013 16:58 UTC

Return-Path: <tbray@textuality.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 E1E0A21F9EA7 for <json@ietfa.amsl.com>; Fri, 21 Jun 2013 09:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.709
X-Spam-Level:
X-Spam-Status: No, score=0.709 tagged_above=-999 required=5 tests=[AWL=-1.248, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RDNS_NONE=0.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 c57sAqWdm2qU for <json@ietfa.amsl.com>; Fri, 21 Jun 2013 09:58:37 -0700 (PDT)
Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) by ietfa.amsl.com (Postfix) with ESMTP id 92EE421F9E21 for <json@ietf.org>; Fri, 21 Jun 2013 09:58:37 -0700 (PDT)
Received: by mail-ve0-f178.google.com with SMTP id pb11so6592529veb.23 for <json@ietf.org>; Fri, 21 Jun 2013 09:58:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=rahBC+jsgm68AAfFrga0iIli4qDnwCyorx2nFY/5P58=; b=hGHRPMqx4RjxAi3iUl2MuEWCcliG2v/VjPkdH/pazMINFBf9QichJzlLvWBFooNzzl 11tEDnj/bk3PRGDphF1zQxyOEDNW6MF45bdwi49cvbaHnjJgfjNbJIx82vh7tBe1XzlL wHVqjaqSfqt4LjOTlsW8j+ktTazEBTN111Pv0g5LL+7DlyfTZXtz5THRZ4fQ5QXQSyb3 G9hseHR9gVdqhFooNDo09+kOzNGkXIOCK5+4NlwBPfVdIYupmtJomeV4L4maMVXom/6Z 4Atgl3AQqmNOoZ2QTF9CXO4cwDMK7Kl6NsX9Sp1fuUaOdoud/MnsnV0BIuANF8W+WcuS ZV/w==
MIME-Version: 1.0
X-Received: by 10.220.162.70 with SMTP id u6mr5984039vcx.11.1371833916841; Fri, 21 Jun 2013 09:58:36 -0700 (PDT)
Received: by 10.220.219.200 with HTTP; Fri, 21 Jun 2013 09:58:36 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <9E497099-2B5B-4256-B066-C2E77B558267@vpnc.org>
References: <9E497099-2B5B-4256-B066-C2E77B558267@vpnc.org>
Date: Fri, 21 Jun 2013 09:58:36 -0700
Message-ID: <CAHBU6iuyjZvvYYnzwg6Va7gkWDTqmsGUL5xh531ymzGhx2k9vw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: multipart/alternative; boundary="001a11c21b384df17704dfacf965"
X-Gm-Message-State: ALoCoQmau5/zDvnhUJ2T3xPi9rO7Fe1UBIOPGVtU13OTxO9dnVAFv1OJ/E5lcES3OH0KL0hmtzyV
Cc: JSON WG <json@ietf.org>
Subject: Re: [Json] Consensus call: ABNF nits
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: Fri, 21 Jun 2013 16:58:42 -0000

I’m OK with #1, the revision. It’s a considerable improvement, and thanks
to the people who did the unglamorous revision work.  -T


On Fri, Jun 21, 2013 at 9:40 AM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> There are two proposals for dealing with nits in the ABNF:
>   0) Leave the ABNF in the current draft as-is
>   1) Change the ABNF in the draft to use the values in "Proposal 1" below
> Note that later proposals might make technical changes to the ABNF itself;
> those proposals are not what we are discussing in this consensus call.
>
> Please respond to this message with a list of proposals you could accept,
> ordered from highest to lowest. Do not list proposals you cannot live with.
> If you cannot accept any of the proposals, please respond and say why.
>
> Based on the responses we receive, we will try to judge the consensus of
> the WG.
>
> -- The JSON WG co-chairs
>
> Proposal #1
> Note that this ABNF is sprinkled throughout Section 2 of
> draft-ietf-json-rfc4627bis-02. Each
> section below replaces the similar section in the draft.
> ==============================================================
>
> JSON-text = object / array
>
> begin-array     = ws %x5B ws  ; [ left square bracket
> begin-object    = ws %x7B ws  ; { left curly bracket
> end-array       = ws %x5D ws  ; ] right square bracket
> end-object      = ws %x7D ws  ; } right curly bracket
> name-separator  = ws %x3A ws  ; : colon
> value-separator = ws %x2C ws  ; , comma
>
> ws = *(
>      %x20 /              ; Space
>      %x09 /              ; Horizontal tab
>      %x0A /              ; Line feed or New line
>      %x0D                ; Carriage return
>      )
>
> value = false / null / true / object / array / number / string
> false = %x66.61.6c.73.65   ; false
> null  = %x6e.75.6c.6c      ; null
> true  = %x74.72.75.65      ; true
>
> object = begin-object [ member *( value-separator member ) ]
>          end-object
> member = string name-separator value
>
> array = begin-array [ value *( value-separator value ) ] end-array
>
> number = [ minus ] int [ frac ] [ exp ]
> decimal-point = %x2E       ; .
> digit1-9 = %x31-39         ; 1-9
> e = %x65 / %x45            ; e E
> exp = e [ minus / plus ] 1*DIGIT
> frac = decimal-point 1*DIGIT
> int = zero / ( digit1-9 *DIGIT )
> minus = %x2D               ; -
> plus = %x2B                ; +
> zero = %x30                ; 0
> DIGIT = %x30-39            ; 0-9
>       ; DIGIT equivalent to DIGIT rule in [RFC5234]
>
> string = quotation-mark *char quotation-mark
> 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
> escape = %x5C              ; \  U+005C
> quotation-mark = %x22      ; "  U+0022
> unescaped = %x20-21 / %x23-5B / %x5D-10FFFF  ; any Unicode scalar
>    ; value, except those that must be escaped (C0 control
>    ; characters, "QUOTATION MARK" [U+0022], and "REVERSE SOLIDUS"
>    ; [U+005C])
> HEXDIG = DIGIT / %x41-46 / %x61-66   ; 0-9, A-F, or a-f
>        ; HEXDIG equivalent to HEXDIG rule in [RFC5234]
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>