Re: [hybi] RFC 6455 - conflicting statements

Alexey Melnikov <alexey.melnikov@isode.com> Tue, 01 May 2012 19:20 UTC

Return-Path: <alexey.melnikov@isode.com>
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 33A4921E8425 for <hybi@ietfa.amsl.com>; Tue, 1 May 2012 12:20:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.069
X-Spam-Level:
X-Spam-Status: No, score=-102.069 tagged_above=-999 required=5 tests=[AWL=-0.355, BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100]
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 GvG3pczHz8rQ for <hybi@ietfa.amsl.com>; Tue, 1 May 2012 12:20:02 -0700 (PDT)
Received: from rufus.isode.com (cl-125.lon-03.gb.sixxs.net [IPv6:2a00:14f0:e000:7c::2]) by ietfa.amsl.com (Postfix) with ESMTP id 0070321E8370 for <hybi@ietf.org>; Tue, 1 May 2012 12:20:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1335900001; d=isode.com; s=selector; i=@isode.com; bh=5O1/dJoTnwUqfbLx74VkebUBkSI2ltateIu59d8ksBc=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=KiKGaU80Fx+uQq6YDAH8vC+y58mDBmTFtF0heuLGLLyLM5aHbn0VA38QLvgYziiREn6ZHQ /a+/62t3gi/yNUUe/7HDdM7HCwpATtebdObnDc8jMy4bblbTW4ctfaRJ+zEWeRlhKeb8gK DlibbLFaMccQEL4iw5ofkjR6Slqdf4I=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250]) by rufus.isode.com (submission channel) via TCP with ESMTPSA id <T6A3XwB=g12b@rufus.isode.com>; Tue, 1 May 2012 20:20:00 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <4FA0377F.6030603@isode.com>
Date: Tue, 01 May 2012 20:20:31 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: "Nataraju A.B" <nataraju.sip@gmail.com>
References: <CA+rAfUO1MPJcpKv+uHk0BD6sUo55SsUg_u+3ypeLdkdLGcQwEw@mail.gmail.com> <CA+rAfUPkLG=CAekZrVaVvNSQPX7+8FCnvyrAds_mA7swKQGHvw@mail.gmail.com> <996C3E66-90B8-4C86-885C-AD436D94E61C@isode.com> <CA+rAfUOej-e_=7O32i3UmZkvcUuh3OP-OBMx1QH7VJ9Atzv=3g@mail.gmail.com> <D52647B3-2DFB-42D8-AF6C-F9EBE494672E@isode.com> <CA+rAfUPp3KNQ9fMdxjXDVCOtYktuzdJqoXN_7MiL9Ub7RGOtKQ@mail.gmail.com>
In-Reply-To: <CA+rAfUPp3KNQ9fMdxjXDVCOtYktuzdJqoXN_7MiL9Ub7RGOtKQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------040900040505000304080204"
Cc: "hybi@ietf.org" <hybi@ietf.org>, "ifette+ietf@google.com" <ifette+ietf@google.com>
Subject: Re: [hybi] RFC 6455 - conflicting statements
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, 01 May 2012 19:20:04 -0000

Hi,

On 29/04/2012 18:02, Nataraju A.B wrote:
> Alex,
>
> Sorry for confusion. The comment should have been other way round. I 
> mean sections 1.1-1.9 shall be normative like other sections.
Ok, this makes more sense.
>
> For example, Opening Handshake, Closing Handshake, Establishing a 
> Connection are mandatory to implement. Hence these sections must be 
> mentioned as normative text. therefore the text "_This section is 
> non-normative._" shall be removed in these sections.
It is possible that some of these are indeed normative. Happy to review 
that once the document is reopened for update. But note that some of 
these sections introduce concepts informative, which are then defined 
normatively in later sections. No real conflict here.
>
> Thanks,
> Nataraju A B
>
> On Sun, Apr 29, 2012 at 9:55 PM, Alexey Melnikov 
> <alexey.melnikov@isode.com <mailto:alexey.melnikov@isode.com>> wrote:
>
>     Hi,
>
>
>     On 27 Apr 2012, at 11:21, "Nataraju A.B" <nataraju.sip@gmail.com
>     <mailto:nataraju.sip@gmail.com>> wrote:
>
>>
>>
>>     On Fri, Apr 27, 2012 at 3:11 PM, Alexey Melnikov
>>     <alexey.melnikov@isode.com <mailto:alexey.melnikov@isode.com>> wrote:
>>
>>         On 27 Apr 2012, at 10:05, "Nataraju A.B"
>>         <nataraju.sip@gmail.com <mailto:nataraju.sip@gmail.com>> wrote:
>>
>>>         Hi All,
>>
>>         Hi,
>>
>>>
>>>         Following is the snippet from the RFC6455.
>>>
>>>         <RFC6455>
>>>         2.  Conformance Requirements
>>>
>>>             All diagrams, examples, and notes in this specification are non-
>>>             normative, as are all sections explicitly marked non-normative.
>>>             *_Everything_*else in this specification is normative.
>>>
>>>         1.9.  Subprotocols Using the WebSocket Protocol
>>>
>>>             _This section is non-normative._
>>>
>>>             The client can request that the server use a specific subprotocol by
>>>             including the |Sec-WebSocket-Protocol| field in its handshake.  If it
>>>             is specified, the server needs to include the same field and one of
>>>             the selected subprotocol values in its response for the connection to
>>>             be established.
>>>
>>>         3.  WebSocket URIs
>>>
>>>             This specification defines two URI schemes, using the ABNF syntax
>>>             defined in RFC 5234 [RFC5234], and terminology and ABNF productions
>>>             defined by the URI specification RFC 3986 [RFC3986].
>>>
>>>                    ws-URI = "ws:" "//" host [ ":" port ] path [ "?" query ]
>>>                    wss-URI = "wss:" "//" host [ ":" port ] path [ "?" query ]
>>>
>>>                    host =<host, defined in [RFC3986], Section 3.2.2>
>>>                    port =<port, defined in [RFC3986], Section 3.2.3>
>>>                    path =<path-abempty, defined in [RFC3986], Section 3.3>
>>>                    query =<query, defined in [RFC3986], Section 3.4>
>>>         </RFC6455>
>>>
>>>         *Comment*: According to statement in sec 2, section 3 -
>>>         WebSocket URIs (for example) is normative. But I don't think
>>>         that it correct. Section 3, 4, 5, 6, 7, 8 must also be
>>>         changed as non-normative text by inserting the text "_This
>>>         section is non-normative._".
>>>
>>
>>         Can you elaborate why you think that these sections are
>>         non-normative?
>>
>>     [ABN] In this context, We understand normative means informative
>>     text. It is not mandatory to implement or refer normative text.
>>     But it is mandatory to follow syntax and semantics of
>>     non-normative text / information. AFAIU sections 3-8 of rfc6455
>>     are mandatory to implement. Hence it must be mentioned as
>>     non-normative text "_This section is non-normative._", like
>>     mentioned for sections 1.1-1.9
>
>     Sorry, I am very confused. Non-normative and Informative have the
>     say meaning. They definitely don't equate to "normative". Specific
>     syntax, like ws: URI in Section 3 is normative, as it defines
>     specific rules that are necessary to follow to implement ws: URI
>     parsing, generation or processing.
>
>>
>>>         Otherwise, Am I missing something here ???
>>>
>>>         Thanks,
>>>         Nataraju A.B.
>>
>>
>
>
>
> -- 
> Thanks,
> Nataraju A.B.
>