Re: [dispatch] RFC 3896 and 3987 vs WHATWG URL Living Standard

Larry Masinter <LMM@acm.org> Thu, 10 June 2021 00:40 UTC

Return-Path: <masinter@gmail.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC55E3A2CCD for <dispatch@ietfa.amsl.com>; Wed, 9 Jun 2021 17:40:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.901
X-Spam-Level:
X-Spam-Status: No, score=-0.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=0.5, URIBL_SBL_A=0.1] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 nLSesjzy4pK1 for <dispatch@ietfa.amsl.com>; Wed, 9 Jun 2021 17:40:02 -0700 (PDT)
Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A4473A2CC9 for <dispatch@ietf.org>; Wed, 9 Jun 2021 17:40:02 -0700 (PDT)
Received: by mail-pj1-x1030.google.com with SMTP id x21-20020a17090aa395b029016e25313bfcso2733542pjp.2 for <dispatch@ietf.org>; Wed, 09 Jun 2021 17:40:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=Z34s5nAjW0c1GjvBU8vSjPM2+oKX5KH8f0eM4DxUhzo=; b=IUQWQaYTZsexKOpoQGeYFrIU8tT2u7cDkyeP9vcEMEXanGNfRCZ/Y6wloK42OLsYun J/+bPTfvPSnrQtR2TLGZM88b4QAZSxFBg8HoGxam89qLFZvF14PdltDvSfW7VsqOfG0j 2olcFnViTXc5It6/N37gOaRwq0ibf8QOGm++2E+JgpTMXAVDCkENM45xYYVWFI6Wx7i5 xFOj551OXSDUrmIz1ATmxgp2KHv963uGn5imQtHbV1K2NGaCogn9qRqtRl5Uk0ZFllBJ vBOVlfsLTh1vtCVEy6re2cuyr4A1XiBRZWUFdhhDVa7p14DBuJK/sG9WThf0cU3o8fYI 5VcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:references:in-reply-to:subject :date:message-id:mime-version:content-transfer-encoding :content-language:thread-index; bh=Z34s5nAjW0c1GjvBU8vSjPM2+oKX5KH8f0eM4DxUhzo=; b=eu72VRf7Cv26tW6Bupkgw4huzFE+r6jhve0/5sTkhsHFuX6bHJUeLLb5zIgT2qJnWJ l29NnKcfPlxXtBk4cx04VP1Z5zJv6qDwsyuIU03bmBQp8xG2MxsEdHK1V7X09gbYos8p WG0C2+oDYfiofbpw+NQOvyX+eHSMzExYlM59ORUVJ3fJ/gQ16Pc826pphtP7rZpiUeuy qParLO3diE4p/9SVZEImtw9zOaFQURaEiGo/yUb8xi1ceMfXJnI4gDyebZEe4qnXr6R4 L5JP2+5JBCzZ3/8en1LK7wmGXW++Z1xd/CHl9BsaEvK5C7JOLviSEkY/8xaMLdtSIA2P EIqQ==
X-Gm-Message-State: AOAM5335VdyEuE3X052ALpi9K2M+yfxWrVb2tn6Ne2lFX7ink2Hp6Wmh gucw/1kkyrIT4kZTNkAXmUEnGTj78wo=
X-Google-Smtp-Source: ABdhPJyojwnibTmxV8bPSFOaL1S8NnQ17dTfq7V1Re2bi4mrhHO8rQh73Dc2M4WnIBBS1458Jra9VA==
X-Received: by 2002:a17:903:2c2:b029:101:9c88:d928 with SMTP id s2-20020a17090302c2b02901019c88d928mr2453766plk.62.1623285599020; Wed, 09 Jun 2021 17:39:59 -0700 (PDT)
Received: from TVPC (c-73-158-116-21.hsd1.ca.comcast.net. [73.158.116.21]) by smtp.gmail.com with ESMTPSA id l70sm806134pgd.20.2021.06.09.17.39.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jun 2021 17:39:58 -0700 (PDT)
Sender: Larry Masinter <masinter@gmail.com>
From: Larry Masinter <LMM@acm.org>
X-Google-Original-From: "Larry Masinter" <lmm@acm.org>
To: 'Mark Nottingham' <mnot@mnot.net>, 'John C Klensin' <john-ietf@jck.com>
Cc: dispatch@ietf.org
References: <002501d75a5b$08694740$193bd5c0$@acm.org> <FC052CE1D6FD5CD0B69051AE@PSB> <BCCD9ABB-9E18-481B-8342-70005966E7E2@mnot.net>
In-Reply-To: <BCCD9ABB-9E18-481B-8342-70005966E7E2@mnot.net>
Date: Wed, 09 Jun 2021 17:39:58 -0700
Message-ID: <019301d75d91$24878020$6d968060$@acm.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQKaLvE30C8z31T9z7KHncQ61MqIvwLMsk1rAahR+EmpYw+K0A==
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/2bSmYFWxzLePqtj_wtgBp0QqmWk>
Subject: Re: [dispatch] RFC 3896 and 3987 vs WHATWG URL Living Standard
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Jun 2021 00:40:07 -0000

The question is: is there enough interest to have a BOF at IETF 111 to
discuss
a plan for moving forward? I don't imagine starting out with a presentation
of
a solution. 

  I'd probably want to focus on "minimum viable product":
What things could we do first with minimum effort that would improve the
current state?  A replacement for RFCs 3986 and 3987 wouldn't be my
first step. Maybe a short standards-track "UPDATES" that points to/contains
deltas or a new grammar that is more consistent with (tested)
implementations.
And a pointer to WHATWG-URL, whether normative or not I'm not sure.

That's a little more than Mark's "Section 1.1.3" because it makes normative
changes but (apparently) minimal ones.

I was encouraged to see WHATWG paying attention to feedback from curl
and node.js as implementations of URLs, not just browsers.

Larry
--
https://LarryMasinter.net https://interlisp.org

> -----Original Message-----
> From: Mark Nottingham <mnot@mnot.net>
> Sent: Monday, June 7, 2021 11:37 PM
> To: John C Klensin <john-ietf@jck.com>
> Cc: Larry Masinter <LMM@acm.org>; dispatch@ietf.org
> Subject: Re: [dispatch] RFC 3896 and 3987 vs WHATWG URL Living Standard
> 
> My sense right now is that it's not (yet) appropriate to deprecate 3986/7.
> 
> Even if we could ignore the non-Web folks using URIs and IRIs (and there
are
> perhaps good arguments for considering that, IMO, although I know that
> others have strong feelings, and there's a lot of history here), the
current
> WHATWG specification doesn't specify them -- it specifies how to get from
> an arbitrary string to what a browser considers a URL to be. It doesn't
specify
> grammar, and it doesn't cover many of the things that 3986 in particular
does.
> 
> The issue that Larry links to seems to be taking tentative steps towards
> aligning the grammar in 3986/7 with what WHATWG does, which is great. If
> that's incorporated, I think there's still a significant gap that would
need to be
> filled before we can deprecate. Even if that gap were to be filled, I
question
> whether the WHATWG is an appropriate home for the specification --
> although obviously the W3C has come to peace with HTML living there.
> 
> Looking at this from a different angle, we could also ask ourselves
whether
> 3986/7 should be updated to align with WHATWG URL. I think the answer to
> that is likely to be no -- not only is the delta apparently very small
(according
> to the comments on the linked issue), alignment would mean doing things
> like considering <> to be valid content in URIs. Again, what they're
specifying
> is how to get from an arbitrary string to a URI, not the syntax itself.
> 
> Actually, one useful thing we *could* do would be to replace section 1.1.3
of
> RFC3986 with something that actually helps people understand the
> differences between all of these things. If we ceded 'URL' to the WHATWG,
> leaving 3986 to define URI, it might help.
> 
> Cheers,
> 
> 
> > On 6 Jun 2021, at 12:21 pm, John C Klensin <john-ietf@jck.com> wrote:
> >
> >
> >
> > --On Saturday, June 5, 2021 15:35 -0700 Larry Masinter <LMM@acm.org>
> > wrote:
> >
> >> Recent progress on WHATWG's URL spec led me to suggest a BOF on the
> >> topic for IETF 111
> >>
> >> Provide a succinct grammar for valid URL strings
> >> <https://github.com/whatwg/url/issues/479> . Issue #479 .
> >> whatwg/url (github.com)
> >>
> >> But I didn't get an ack, and perhaps this belongs in DISPATCH/ART
> >> etc.
> >
> > Larry,
> >
> > This is a question rather than a statement of preference because I
> > have not thought about it in some time, but are you thinking it may be
> > time to either revise or deprecate 3896 and 3897?  I may not have
> > enough information but it seems clear to me that, in terms of the
> > specs to which implementers are paying attention, the action has
> > shifted toward WHATWG (and, to a lesser extent, W3C) and away from the
> > IETF documents.
> >
> > If deprecating the IETF URI and IRI specs is really the question (or
> > part of it), I'd think either a BOF or a well-prepared presentation
> > and a rather large block of time in DISPATCH would be appropriate.
> >
> > best,
> >  john
> >
> >
> >
> > _______________________________________________
> > dispatch mailing list
> > dispatch@ietf.org
> > https://www.ietf.org/mailman/listinfo/dispatch
> 
> --
> Mark Nottingham   https://www.mnot.net/