Re: [Jsonpath] Fwd: I-D Action: draft-bormann-jsonpath-iregexp-04.txt

Stefan Gössner <stefan@goessner.net> Mon, 25 April 2022 17:53 UTC

Return-Path: <stefan@goessner.net>
X-Original-To: jsonpath@ietfa.amsl.com
Delivered-To: jsonpath@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8858CC06DE34 for <jsonpath@ietfa.amsl.com>; Mon, 25 Apr 2022 10:53:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.853
X-Spam-Level:
X-Spam-Status: No, score=-1.853 tagged_above=-999 required=5 tests=[HTML_MESSAGE=0.001, NICE_REPLY_A=-1.857, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jpqoVQ10onRH for <jsonpath@ietfa.amsl.com>; Mon, 25 Apr 2022 10:53:06 -0700 (PDT)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4D7EC06DD46 for <jsonpath@ietf.org>; Mon, 25 Apr 2022 10:53:05 -0700 (PDT)
Received: from [192.168.178.38] ([88.130.149.239]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MYNS0-1nMRSy1VGU-00VTaq; Mon, 25 Apr 2022 19:47:46 +0200
Content-Type: multipart/alternative; boundary="------------qpXQHNLu0VePGePHxd50UpCF"
Message-ID: <4cecc690-f84d-616d-2a3a-67c1aa043890@goessner.net>
Date: Mon, 25 Apr 2022 19:47:45 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0
To: Glyn Normington <glyn.normington.work@gmail.com>, Tim Bray <tbray@textuality.com>
Cc: Carsten Bormann <cabo@tzi.org>, jsonpath@ietf.org
References: <165090408999.1001.9669029059632409746@ietfa.amsl.com> <8DF9CF13-3ADA-433A-97DF-6D77A222D607@tzi.org> <CANH0GbJm7CYUDYhvpz+F1e+NhO5pPBOxFr9T3sjEgu6pShS4Yg@mail.gmail.com> <CAHBU6itkyL-Vny_XM3musumN=_CdhoT_tnNDLhtp8RAXqLBdng@mail.gmail.com> <CANH0GbKc_vtT_+vm_S+-EizLX05voCR=mUa3ZksGo_+J821M_g@mail.gmail.com> <CAHBU6iv4Xv=QPmOWrL6O=OxfNNorwwzuYiNCe2MFYvKzRMMMsQ@mail.gmail.com> <CANH0Gb+hgP3zH3C34VgOLb2H6Bt0d3yuEWGhhoujqJf5zfeYYQ@mail.gmail.com>
From: Stefan Gössner <stefan@goessner.net>
In-Reply-To: <CANH0Gb+hgP3zH3C34VgOLb2H6Bt0d3yuEWGhhoujqJf5zfeYYQ@mail.gmail.com>
X-Provags-ID: V03:K1:q6afN/3eLWPoaAc1doOz9dd/1ZOHD+0EuTKwWzuyjSHbDLVzD2v rcg9Qy3Qo4ZtvenhbQxv3B9USMhiO4MogYVKCEqcXPo7/8z/Rn4JcuLS0WhBGF30KyDYukD 3IZ8kj5KbJ6CS7SUw0mbP8L2nBg0nNsiIemJVt+7GgpWeFZ2rGMgTVW78lQ0A6iCvB7G+/n DpTt4UjJYySkIX8ruIfzA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:4RdUu/5bobg=:6rJZWRnJFNr/YTe08ZoOLi hLOUHZLXhymgBJKqVHDrfTNTD7dx6H3U0laKUPxTO84ltarOsiw64yfQL93ye3DwNCJ8l7wtU gJKGwh35hchGT5rp6qwnRH9z4FYUeLw8nNk7xNhWgZ4jB9FRmk5381XE96+reb0gd4cdSkk93 tJQp+i6Kd0rCj1UWeq5POfZqya4+t+Klvdg3EKesy67NVhlSjELQwiBswDmKp/CLlPR9tVm9U Xp2zhopizb7MNp5cUnfEzIFKATIYpEKc6NkWoBahnAzoqyyEKYXRnUdv9G1IkYIO+bgEqRnlI pRMj+pvKVHCvlNRWFFqVKX4pQmWE6bTpvP1x9ZM7bA1rlPw6xZAm6vJniy3LR6L0YNylVRLGB ewSJYTZjnahp65k4i7ADOeTtYi81uxMTuPXVyndy/6utcfLWL7S2cTMI8J30jt/ZJW3YLsrJs J/wx02lGaGlhOZb7ifSaGHt2IHlQFz6YEYtLIZFJLbBIEQZ9D88xnmMxrMqJh+uERuXE/i8Yv UeUz6h0YpW2IwNrW79p1ZHJ/mmMGnmagvklSJ9yEhlOXpS0YIH9bK8YW4yUU/avZ58TJlpKDF YMc0TrBhvcpVvvMd7LTACHgBj0pMCcSjxgc+ATx/+m+DNHGazWF978iUsJg1j93+oGCj+GF1T f3YhRPP+Hm5Z34ST/yrLYlpPDlI0zWM0+t22fLlHRAJQl/JMGktDmIPDt7FSl4kM6aM4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/8CYbN6TsBxDfCKGBsloasbGByZY>
Subject: Re: [Jsonpath] Fwd: I-D Action: draft-bormann-jsonpath-iregexp-04.txt
X-BeenThere: jsonpath@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: A summary description of the list to be included in the table on this page <jsonpath.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jsonpath/>
List-Post: <mailto:jsonpath@ietf.org>
List-Help: <mailto:jsonpath-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2022 17:53:10 -0000

+1

Am 25.04.2022 um 19:46 schrieb Glyn Normington:
> I agree with your implementation cost argument.
>
> Also, without a full test suite of all cases of syntactically invalid 
> strings (is such a thing even theoretically feasible?), 
> implementations' syntax checking would probably vary, impacting 
> interoperation.
>
> So, yes, I could live with a MAY.
>
> On Mon, 25 Apr 2022, 18:26 Tim Bray, <tbray@textuality.com> wrote:
>
>     I can't disagree. All I can add is that a MUST is a pretty heavy
>     hammer. I think that for any of the well-known libraries, I could
>     construct and ship an I-Regexp translator in a very short time, in
>     some cases hours. Building a syntax checker would be a much more
>     demanding task, and writing the test suite for such a checker
>     would be very discouraging.
>
>     While I at least partially agree with you, here's a
>     counter-proposal: Put in a MAY (or SHOULD?)  and a paragraph
>     containing basically the text of your email 5 minutes ago,
>     encouraging implementors to do this.
>
>     On Mon, Apr 25, 2022 at 10:07 AM Glyn Normington
>     <glyn.normington.work@gmail.com> wrote:
>
>         If non-conforming regexps are handled, I think (at least
>         perceived) interoperation could suffer. Suppose someone gets
>         used to using a particular I-Regexp implementation and fails
>         to notice they have stepped outside the official syntax. Then
>         at some point, they try another i-Regexp implementation and
>         either (a) their regexp syntax is rejected as invalid or (b)
>         the behaviour is different.
>
>