Re: [Uri-review] draft-wood-tae-specifying-uri-transports-07

<L.Wood@surrey.ac.uk> Thu, 29 October 2009 17:49 UTC

Return-Path: <L.Wood@surrey.ac.uk>
X-Original-To: uri-review@core3.amsl.com
Delivered-To: uri-review@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF99D3A67E2 for <uri-review@core3.amsl.com>; Thu, 29 Oct 2009 10:49:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level:
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XmgpdMTpGe89 for <uri-review@core3.amsl.com>; Thu, 29 Oct 2009 10:49:52 -0700 (PDT)
Received: from mail71.messagelabs.com (mail71.messagelabs.com [193.109.255.131]) by core3.amsl.com (Postfix) with SMTP id 5CC913A6767 for <uri-review@ietf.org>; Thu, 29 Oct 2009 10:49:51 -0700 (PDT)
X-VirusChecked: Checked
X-Env-Sender: L.Wood@surrey.ac.uk
X-Msg-Ref: server-14.tower-71.messagelabs.com!1256838605!64101426!4
X-StarScan-Version: 6.2.4; banners=-,-,-
X-Originating-IP: [131.227.102.140]
Received: (qmail 23010 invoked from network); 29 Oct 2009 17:50:06 -0000
Received: from ads40.surrey.ac.uk (HELO ads40.surrey.ac.uk) (131.227.102.140) by server-14.tower-71.messagelabs.com with SMTP; 29 Oct 2009 17:50:06 -0000
Received: from EVS-EC1-NODE4.surrey.ac.uk ([131.227.102.139]) by ads40.surrey.ac.uk with Microsoft SMTPSVC(6.0.3790.3959); Thu, 29 Oct 2009 17:50:05 +0000
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CA58C0.3EEBB579"
Date: Thu, 29 Oct 2009 17:50:04 -0000
Message-ID: <4835AFD53A246A40A3B8DA85D658C4BE01368B2B@EVS-EC1-NODE4.surrey.ac.uk>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
Thread-Topic: draft-wood-tae-specifying-uri-transports-07
Thread-Index: AcpYvbkbxmRjNoZ2RO6tP18AW+xLuQAAZvoi
References: <811305.77166.qm@web27206.mail.ukl.yahoo.com>
From: L.Wood@surrey.ac.uk
To: lloyd.wood@yahoo.co.uk, ah@TR-Sys.de
X-OriginalArrivalTime: 29 Oct 2009 17:50:05.0195 (UTC) FILETIME=[3F4545B0:01CA58C0]
X-Mailman-Approved-At: Thu, 29 Oct 2009 14:33:28 -0700
Cc: uri-review@ietf.org
Subject: Re: [Uri-review] draft-wood-tae-specifying-uri-transports-07
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2009 17:49:56 -0000

Alfred,

thanks for your detailed comments; I've attached a
drafty draft including your proposed changes.

That's a very good point on the recursive definition; I've
gotten around it by

extended-scheme = scheme [][][][][]
(decently laid out)

which is intended to be clear to the reader, though the
formal correctness of this retrofitting of punctuation pairs
within the scheme definition is, as you point out, difficult
to achieve.

Many thanks!

L.

<http://www.ee.surrey.ac.uk/Personal/L.Wood/><L.Wood@surrey.ac.uk>


--- On Wed, 28/10/09, Alfred Hönes <ah@TR-Sys.de> wrote:

> From: Alfred Hönes <ah@TR-Sys.de>
> Subject: draft-wood-tae-specifying-uri-transports-07
> To: L.Wood@society.surrey.ac.uk
> Cc: uri-review@ietf.org
> Date: Wednesday, 28 October, 2009, 10:52
> Hello,
> I've followed up to your updated Internet-Draft,
> draft-wood-tae-specifying-uri-transports-07, and would
> like to submit a few (mostly) editorial comments.
> 
> 
> (1)  Section 2 -- general
> 
> This section is so long that it becomes tedious to point
> to particular text in it.  Maybe structuring it into
> sub-sections would help.
> 
> 
> (2)  Section 2 -- syntax definition
> 
> The integration of the new syntax with RFC 3986 is difficult,
> since the rule name <scheme> from RFC 3986 is made use of in
> all modern specifications of URI Schemes.
> 
> The draft specifies:
> 
>    scheme = scheme [ "-+" port behaviour ] ["++" transport ] ["+-" interface ] [ "--" dynamic configuration]
> 
> At first glance, it looks like there were distinct tokens
> "port", "behavior", "dynamic", and "configuration".
> For clarity, I recommend to join the word pairs using hyphens.
> Further, the visual appearance of the syntax rule would be
> improved substantially by matching the line break with the
> logical structure and using indentation:
> 
>    scheme = scheme [ "-+" port-behaviour ] ["++" transport ]
>                
>    [ "+-" interface ] [ "--" dynamic-configuration ]
> 
> In this prsentation form, however, it becomes apparent that
> this rule is recursive; that would essentially allow repeating
> the new suffix elements in any number and order, which you
> apparently do not want.
> My initial idea to fix that,
> 
>    scheme       = basic-scheme
>   [ "-+" port-behaviour ] [ "++" transport ]
>   [ "+-" interface ] [ "--" dynamic-configuration ]
> 
>    basic-scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
>                 ;
> <scheme> in RFC 3986
> 
> ... makes integration with existing URI Scheme definitions
> cumbersome;
> there seems no easy way to do that in a formally correct
> manner;
> maybe this integrated alternative would be slightly better
> (yet not
> satisfactorily):
> 
>    scheme   =/ ALPHA *( ALPHA
> / DIGIT / "+" / "-" / "." )
>                
>     ; <scheme> definition in RFC 3986
>            
>    [ "-+" port-behaviour ] [ "++" transport
> ]
>            
>    [ "+-" interface ] [ "--"
> dynamic-configuration ]
> 
> Another possibility with less ambiguities:
> 
>    scheme         
>       =/ basic-scheme
>                
>            [ "-+"
> port-behaviour ]
>                
>            [ "++"
> transport ]
>                
>            [ "+-"
> interface ]
>                
>            [ "--"
> dynamic-configuration ]
> 
>    basic-scheme       
>   = scheme-token
>                
>            ; any
> IANA-registered URI Scheme name
> 
>    port-behaviour       
> = scheme-token
>    transport       
>      = scheme-token
>    interface       
>      = scheme-token
>    dynamic-configuration = scheme-token
> 
>    scheme-token       
>   = ALPHA *( [ "+" / "-" / "." ] (ALPHA / DIGIT) )
> 
> 
> (3)  Section 2 -- referal to DNS
> 
> The single DNS based mechanism containing service
> information down
> to the port level I am aware of is the SRV Resource Record
> (RR).
> Therefore, it might be better to modify:
> 
>    The optionally-included "--" gets
> configuration information and
> |  transport/services to use dynamically via some
> method, e.g.  DNS
> |  records, but can be partly overriden by other
> locally-provided
>    configuration from the other three
> modifier types described above.
> ---
>    The optionally-included "--" gets
> configuration information and
> |  transport/services to use dynamically via some
> method (e.g., via DNS
> |  SRV records), but can be partly overriden by other
> locally-provided
>    configuration from the other three
> modifier types described above.
> 
> With "via", the proposed phrase implicitly also comprises
> DNS-based
> DDDS using NAPTR RRs (RFC 3403 et al.).
> 
> 
> (4)  Section 3, 3rd para -- language
> 
> I suggest to improve the grammar:
> 
>    ... has proposed using ... and could
> indicates ...
> ---               
>            
>    ^^^^^^^^^^^^^^^
>    ... has proposed using ... and indicating
> ...
> 
> I.e., with the full context:
> 
>    [I-D.jennings-http-srv] has proposed
> using DNS lookup of a SRV record
>    to return a dynamic port value, as well
> as an address, and could
>    indicates this using http--srv:// and
> http--srv:// in line with the
>    use of a service name as indicated
> above.
> ---
>    [I-D.jennings-http-srv] has proposed
> using DNS lookup of a SRV record
> |  to return a dynamic port value, as well as an
> address, and indicating
>    this using http--srv:// and http--srv://
> in line with the use of a
>    service name as indicated above.
> 
> 
> Kind regards,
>   Alfred Hönes.
> 
> -- 
> 
> +------------------------+--------------------------------------------+
> | TR-Sys Alfred Hoenes   |  Alfred
> Hoenes   Dipl.-Math., Dipl.-Phys.  |
> | Gerlinger Strasse 12   |  Phone:
> (+49)7156/9635-0, Fax: -18     
>    |
> | D-71254  Ditzingen     | 
> E-Mail:  ah@TR-Sys.de 
>                
>    |
> +------------------------+--------------------------------------------+
> 
>