Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard

Iñaki Baz Castillo <ibc@aliax.net> Tue, 12 July 2011 09:20 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0AD021F909B for <hybi@ietfa.amsl.com>; Tue, 12 Jul 2011 02:20:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id af9sfm4v-qUW for <hybi@ietfa.amsl.com>; Tue, 12 Jul 2011 02:20:45 -0700 (PDT)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by ietfa.amsl.com (Postfix) with ESMTP id CF55E21F90F4 for <hybi@ietf.org>; Tue, 12 Jul 2011 02:20:44 -0700 (PDT)
Received: by qyk29 with SMTP id 29so3157518qyk.10 for <hybi@ietf.org>; Tue, 12 Jul 2011 02:20:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.66.222 with SMTP id o30mr2226060qci.189.1310462444216; Tue, 12 Jul 2011 02:20:44 -0700 (PDT)
Received: by 10.229.228.9 with HTTP; Tue, 12 Jul 2011 02:20:44 -0700 (PDT)
In-Reply-To: <4E1C0CE9.10009@gmail.com>
References: <20110711140229.17432.23519.idtracker@ietfa.amsl.com> <4E1BD054.7010103@gmail.com> <8B0A9FCBB9832F43971E38010638454F040B419E9E@SISPE7MB1.commscope.com> <4E1C0CE9.10009@gmail.com>
Date: Tue, 12 Jul 2011 11:20:44 +0200
Message-ID: <CALiegf=22nxQTZKBTrJnjt+u_OYQX-hknzqQOE4v0GeUKJuDUw@mail.gmail.com>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
To: Mykyta Yevstifeyev <evnikita2@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "hybi@ietf.org" <hybi@ietf.org>, "draft-ietf-hybi-thewebsocketprotocol@tools.ietf.org" <draft-ietf-hybi-thewebsocketprotocol@tools.ietf.org>
Subject: Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2011 09:20:46 -0000

2011/7/12 Mykyta Yevstifeyev <evnikita2@gmail.com>om>:
>> That's not true.  RFC 5234 merely uses ASCII in its example.  The terminal
>> values for this particular application of ABNF could be a single bit in
>> place of a character.  5234 doesn't prohibit this
>
> ABNF is designed to deal with characters represented in octets.  The
> terminal value %xHH stands for ASCII character HH, so it's true that %x0
> stands for NUL; so does %b0.  The <BIT> production doesn't denote actual
> bits, but rather representation of bits.
>
>> BIT            =  "0" / "1"
>
> implies that <BIT> may be either ASCII 0x31 - "1" - or ASCII 0x30 - "0".
>  Once more, ABNF is for chars/octets, not bits.


Just a comment: RFC 5234 (ABNF) says:

  BIT            =  "0" / "1"

   bin-val        =  "b" 1*BIT
                        [ 1*("." 1*BIT) / ("-" 1*BIT) ]
                           ; series of concatenated bit values
                           ;  or single ONEOF range


Is it speaking about real bits? or about ones and zeroes (chars)?

-- 
Iñaki Baz Castillo
<ibc@aliax.net>