Re: [apps-discuss] draft-kerwin-file-scheme and hosts

Bjoern Hoehrmann <derhoermi@gmx.net> Sat, 10 January 2015 23:55 UTC

Return-Path: <derhoermi@gmx.net>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 742861A01FA for <apps-discuss@ietfa.amsl.com>; Sat, 10 Jan 2015 15:55:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oOIYE9X88ViE for <apps-discuss@ietfa.amsl.com>; Sat, 10 Jan 2015 15:55:45 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54BE01A0095 for <apps-discuss@ietf.org>; Sat, 10 Jan 2015 15:55:45 -0800 (PST)
Received: from netb ([89.204.137.193]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LcSWg-1XTZmg1KI2-00jtAD; Sun, 11 Jan 2015 00:55:38 +0100
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Matthew Kerwin <matthew@kerwin.net.au>
Date: Sun, 11 Jan 2015 00:55:34 +0100
Message-ID: <0re3bappapp7ehunfhkjuekieohkob9d59@hive.bjoern.hoehrmann.de>
References: <CAL0qLwYrAGk-gpfMKigy8C8CCzdA4NhQv60UdUmBtXdkQF10SA@mail.gmail.com> <54922C81.4030908@intertwingly.net> <CACweHNDT4iNmDyGkvDBa08apPcaQC7hoAQ2gFZxYE-8wFiDrvg@mail.gmail.com> <5494C6AF.4070902@intertwingly.net> <CACweHNB04C8a2NefHnx0wxZSRw7KOyBzPPuuniEi=uvgQ5M5pg@mail.gmail.com> <2e33balagh0scqtgaf87vh48vc8l9jm7g7@hive.bjoern.hoehrmann.de> <CACweHNDXL4i+39FxEt0+kzd=KWXmVGRqu5A_-gGwjxZcenuUkg@mail.gmail.com>
In-Reply-To: <CACweHNDXL4i+39FxEt0+kzd=KWXmVGRqu5A_-gGwjxZcenuUkg@mail.gmail.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:RBVPMnUReFotqM/ANLAsC1pTwpAb+oORJTqwVbZHEpEa+lrcKTd sMOAcz5HAtr7CeTksVsHNA8iHa7z2HDwZyXoOZASyjLPq1GY99UPtDOSmxuAFsiGckX+fhw hgrOQeFBsfqRTzgWFRgzEpG5DTQ3pQLH4Z+H3eklFljptqBrkxwWKjvULiiwia3N6sA0H6B 0xFsV/wt8VG//p73E8o6A==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/ttlbZKNkNDxpsR46BzEnxk7oAic>
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] draft-kerwin-file-scheme and hosts
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jan 2015 23:55:47 -0000

* Matthew Kerwin wrote:
>On 11 January 2015 at 06:40, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
>
>> * Matthew Kerwin wrote:
>> >On 20 December 2014 at 10:45, Sam Ruby <rubys@intertwingly.net> wrote:
>>
>> >> file://[2001::1]/foo
>> >
>> >I thought this already worked with RFC 3986..? See the "IP-literal"
>> >construct in <https://tools.ietf.org/html/rfc3986#section-3.2.2>, which
>> is
>> >used in "host".
>>
>> With the RFC 3986 grammar it would parse as
>>
>>   ["URI", [
>>     ["scheme", [
>>       ["ALPHA", [], 0, 1],
>>       ["ALPHA", [], 1, 2],
>>       ["ALPHA", [], 2, 3],
>>       ["ALPHA", [], 3, 4]], 0, 4],
>>     ["hier-part", [
>>       ["authority", [
>>         ["host", [
>>           ["IP-literal", [
>>             ["IPv6address", [
>>               ["h16", [
>>   ...
>>               ["h16", [
>>   ...
>>       ["path-abempty", [
>>         ["segment", [
>>           ["pchar", [
>>   ...
>>
>
>Doesn't it match the pattern `[ *5( h16 ":" ) h16 ] "::" h16`? I.e. zero of
>the (h16 ":") part, then h16="2001", "::", h16="1"
>
>?Is that what you're saying? If so, is that somehow wrong??

Yes, that is how it matches, and no, that is not wrong.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoernsworld.de
 Available for hire in Berlin (early 2015)  · http://www.websitedev.de/