Re: [hybi] RFC 6455 - conflicting statements

Alexey Melnikov <alexey.melnikov@isode.com> Sun, 29 April 2012 16:25 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 75D5621F84DF for <hybi@ietfa.amsl.com>; Sun, 29 Apr 2012 09:25:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.76
X-Spam-Level:
X-Spam-Status: No, score=-100.76 tagged_above=-999 required=5 tests=[AWL=-0.443, BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, 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 u6xvtKQGjMwv for <hybi@ietfa.amsl.com>; Sun, 29 Apr 2012 09:25:27 -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 2C87D21F84D9 for <hybi@ietf.org>; Sun, 29 Apr 2012 09:25:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1335716726; d=isode.com; s=selector; i=@isode.com; bh=zIY4t8yPPvjJ5UHM1ioiHnEib0k00zFCTLFBFE0vQNI=; 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=R2QIk3OLACx/MGfke6niq/bg4SIMPaoP1eM6B/WoF9OWb6PsAod1pC8D0wtJEFKQXw7yq5 bdrZi0mf8r6v2QEJXEb3nJWKaxDgNmTuGfQlfG/9udNnOsttPRgfOUleZSH35g6YgWGdHK lbZziXHt6v90FJJPvb79Bx+LMOKHuY0=;
Received: from [188.29.134.82] (188.29.134.82.threembb.co.uk [188.29.134.82]) by rufus.isode.com (submission channel) via TCP with ESMTPSA id <T51rcAB=g1uW@rufus.isode.com>; Sun, 29 Apr 2012 17:25:21 +0100
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>
In-Reply-To: <CA+rAfUOej-e_=7O32i3UmZkvcUuh3OP-OBMx1QH7VJ9Atzv=3g@mail.gmail.com>
Message-Id: <D52647B3-2DFB-42D8-AF6C-F9EBE494672E@isode.com>
X-Mailer: iPad Mail (9B176)
From: Alexey Melnikov <alexey.melnikov@isode.com>
Date: Sun, 29 Apr 2012 17:25:14 +0100
To: "Nataraju A.B" <nataraju.sip@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="Apple-Mail-185E629C-6EEE-4FF4-A809-4C840C764D1A"
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: Sun, 29 Apr 2012 16:25:28 -0000

Hi,

On 27 Apr 2012, at 11:21, "Nataraju A.B" <nataraju.sip@gmail.com> wrote:

> 
> 
> On Fri, Apr 27, 2012 at 3:11 PM, Alexey Melnikov <alexey.melnikov@isode.com> wrote:
> On 27 Apr 2012, at 10:05, "Nataraju A.B" <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.
>