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

Matthew Kerwin <matthew@kerwin.net.au> Sat, 10 January 2015 23:31 UTC

Return-Path: <phluid61@gmail.com>
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 79BBF1A0277 for <apps-discuss@ietfa.amsl.com>; Sat, 10 Jan 2015 15:31:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.027
X-Spam-Level:
X-Spam-Status: No, score=-1.027 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 RfrbrpYVtzRN for <apps-discuss@ietfa.amsl.com>; Sat, 10 Jan 2015 15:31:39 -0800 (PST)
Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9440D1A0076 for <apps-discuss@ietf.org>; Sat, 10 Jan 2015 15:31:39 -0800 (PST)
Received: by mail-qc0-f172.google.com with SMTP id m20so13960604qcx.3 for <apps-discuss@ietf.org>; Sat, 10 Jan 2015 15:31:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gJVUUdzqQwNL1+2AP3shxuOYDAlZ+odgvbXd+hDUVLY=; b=aGa8Leqpw9WrihGmnopCwm8qZUdxMqaBAtD9oAwQn0ZK9Bu4ozWJjbwv0BamPSO62z EUDPpSTcx/mqYWtdqbI57fK45ajcODKGgW/qRBzZ/HShr2+jDIkmSMgxmZj43rNRfNDf pgmLBJTgZGUFmWv1JKVCOI6a5AlIQJJT4TPj2xbYKQiZOJ/vEwU6gedjjNJpNUbjPH8d pR6if1FbYrIKrwWBuuxla10/+KVu9B1Gd/hCMqmRu6+MqO1+vwzVgPYbzeGDMnJ2qRhP EGTpuGFiBSsAzJjyOn+/WJaMhfvoWgToxjoUOqbEC92gjgnYNVJo4osx96YAmzVAjaxJ tZrA==
MIME-Version: 1.0
X-Received: by 10.224.128.196 with SMTP id l4mr38885593qas.100.1420932698834; Sat, 10 Jan 2015 15:31:38 -0800 (PST)
Sender: phluid61@gmail.com
Received: by 10.140.93.98 with HTTP; Sat, 10 Jan 2015 15:31:38 -0800 (PST)
In-Reply-To: <2e33balagh0scqtgaf87vh48vc8l9jm7g7@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>
Date: Sun, 11 Jan 2015 09:31:38 +1000
X-Google-Sender-Auth: FIR4UbVFZBOjd3Y14zs4Tn5QvPc
Message-ID: <CACweHNDXL4i+39FxEt0+kzd=KWXmVGRqu5A_-gGwjxZcenuUkg@mail.gmail.com>
From: Matthew Kerwin <matthew@kerwin.net.au>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Content-Type: multipart/alternative; boundary="001a11c2c358c38c25050c54ac9c"
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/NQ0iRxp3bOx722X5vQpDdqW78Tc>
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:31:41 -0000

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?​


-- 
  Matthew Kerwin
  http://matthew.kerwin.net.au/