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

Glyn Normington <glyn.normington.work@gmail.com> Tue, 26 April 2022 06:12 UTC

Return-Path: <glyn.normington.work@gmail.com>
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 07A2BC3A9162 for <jsonpath@ietfa.amsl.com>; Mon, 25 Apr 2022 23:12:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.197
X-Spam-Level:
X-Spam-Status: No, score=-0.197 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 dyEIOnjwrORc for <jsonpath@ietfa.amsl.com>; Mon, 25 Apr 2022 23:12:38 -0700 (PDT)
Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00892C1D3866 for <jsonpath@ietf.org>; Mon, 25 Apr 2022 23:12:11 -0700 (PDT)
Received: by mail-lf1-x12c.google.com with SMTP id bq30so30080396lfb.3 for <jsonpath@ietf.org>; Mon, 25 Apr 2022 23:12:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ml2TBAoqAO5JJoGReC6y+9M+H9OZIEgH3V6AqukGLHg=; b=PfK9vBwWvE3YG3SBFulrcfLOzVA/Xo8PGbOzv7ucr5DJ/9by7n8rnNEZ2ab0pDJ82D khdvVTEvt4cQ2KROYsrEXUWAMnM7Ns9mgi2RNVvW6ekW0uN5q1V/xsEau3VEkTDmetji wG+G2L0yuurX55TN/U3sF0Naydrg5ZKLGyDD+h4+5NrC5HmV93t+tsS7mVLlFtecMleJ x8hfM7+0Zg22+5R4tdhOS3Xtt1u7d9/vGZUlod54MMPhFMIts7S9vVeEhNmuL7dlieTx +42OIWjzfCLpi57Mctxxs8sDtsr0lggxrg6ILEzls3g4Z3wANaOOYEEi7j2WYRBf2koR pppg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ml2TBAoqAO5JJoGReC6y+9M+H9OZIEgH3V6AqukGLHg=; b=GCBcj+HAiqWuLhJNVcYVBEWtSQMEbVfGxvSIK6vPS9F5sJM09sLq0MRVSurceWiPpZ OdhS+3Bfgdpz/wg9Gi1SUCbM/7Ta9qA54jxcHVISNNG7YuLZ8ZaaeODLcmjTTse8BMgC SBgAq0UOz9NZqgk31DT8GFvKmY2W1+Sgm6o/ANkx4uXJysh7iwmDu+gZ4ZV/JlYP5Ini o0Hx92Vx+lJi/9alJUM9tsASu4/3Wx02Xwc9bvO2d2U1Z4VfV4nkPBLdEyix4B17JUUT u5VhxxMtA2nmVw/p9eTIL6RXXySl2UX4QSEICBnjtEOh4+wCWyUMH9VLckSWbn8jzJJM kjPQ==
X-Gm-Message-State: AOAM532rnnOyiIBzUVTKhZFx0NsroDHNew0K1xixn3aDPjVmpGB/5mIF cjI6v3lSphCl44swt2vpxaX3oQPpoZr6uO91tUw=
X-Google-Smtp-Source: ABdhPJxZL39WTb2LGqgUYu5e05uG3SYcrs3pT9vyDeGqFGRaX5fgJlNVB78iBADO3qZIRzSKoB8YTELxCGHl5hHcKZw=
X-Received: by 2002:ac2:4e16:0:b0:472:5fe:fb0 with SMTP id e22-20020ac24e16000000b0047205fe0fb0mr6337092lfr.517.1650953530034; Mon, 25 Apr 2022 23:12:10 -0700 (PDT)
MIME-Version: 1.0
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> <57629706.698669.1650920147790@mail.yahoo.com>
In-Reply-To: <57629706.698669.1650920147790@mail.yahoo.com>
From: Glyn Normington <glyn.normington.work@gmail.com>
Date: Tue, 26 Apr 2022 07:11:58 +0100
Message-ID: <CANH0GbK07bzPCE0PJrKAQU-CZigz7g_=gmZh6G6sTx0jD2DiZQ@mail.gmail.com>
To: Greg Dennis <gregsdennis@yahoo.com>
Cc: Tim Bray <tbray@textuality.com>, Carsten Bormann <cabo@tzi.org>, "jsonpath@ietf.org" <jsonpath@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b2cd0a05dd889270"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/98apo7SwH68e-4Ac6sn8004r90M>
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: Tue, 26 Apr 2022 06:12:42 -0000

I raised https://github.com/cabo/iregexp/pull/9 to cover my concerns.

On Mon, 25 Apr 2022 at 21:55, Greg Dennis <gregsdennis@yahoo.com> wrote:

> The way this is handled in JSON Schema is that we allow implementations to
> have addition (extra-spec) support, but the default behavior MUST be as
> defined in the spec.  This means that to get any extra behavior, you have
> to consciously modify the implementation options.  By doing so, you've
> effectively acknowledged that the behavior you want is
> implementation-specific and won't necessarily work with other
> implementations.
>
> On Tuesday, April 26, 2022, 08:47:05 AM GMT+12, 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.
>
> --
> JSONpath mailing list
> JSONpath@ietf.org
> https://www.ietf.org/mailman/listinfo/jsonpath
>