Re: [Jsonpath] JSNOPath Interim meeting next week

Carsten Bormann <cabo@tzi.org> Tue, 26 April 2022 07:20 UTC

Return-Path: <cabo@tzi.org>
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 C4CF7C2D7362 for <jsonpath@ietfa.amsl.com>; Tue, 26 Apr 2022 00:20:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[SPF_HELO_NONE=0.001, SPF_PASS=-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 UPvruNj22nWx for <jsonpath@ietfa.amsl.com>; Tue, 26 Apr 2022 00:20:24 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 2A82DC06DF69 for <jsonpath@ietf.org>; Tue, 26 Apr 2022 00:20:21 -0700 (PDT)
Received: from smtpclient.apple (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4KnYDx5KtZzDChC; Tue, 26 Apr 2022 09:20:17 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CANH0GbKsbA1j5q+XG+PtFUaB4nHDGW-UXivuds88OD3ZhZ39mw@mail.gmail.com>
Date: Tue, 26 Apr 2022 09:20:17 +0200
Cc: Stefan Gössner <stefan@goessner.net>, Tim Bray <tbray@textuality.com>, jsonpath@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <4F5F517D-FBD9-4AC0-ABAF-F671AAD4F206@tzi.org>
References: <CAHBU6it2-yx0iXCm_yV7reBa1++7=5w92Q=sqGzHq=5A9J1MoQ@mail.gmail.com> <30f10fea-3125-c2de-efeb-ea61f3da8bc5@goessner.net> <6a75b08c-de17-ac2d-7514-f0b605edd268@goessner.net> <CANH0GbKsbA1j5q+XG+PtFUaB4nHDGW-UXivuds88OD3ZhZ39mw@mail.gmail.com>
To: Glyn Normington <glyn.normington.work@gmail.com>
X-Mailer: Apple Mail (2.3696.80.82.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/x190znMSRi8hSeLJkB-fqTWusJ8>
Subject: Re: [Jsonpath] JSNOPath Interim meeting next week
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 07:20:29 -0000

On 26. Apr 2022, at 09:13, Glyn Normington <glyn.normington.work@gmail.com> wrote:
> 
> Nested filters are disallowed because only Singular Paths are allowed inside filter expressions.

Oh.

The text about singular paths is only about comparisons (they were needed so paths can be used to yield singular JSON values).

I missed that the grammar now also limits exists-expressions to singular paths.

Are we sure that this is what we want?
There is no reason for this limitation.
(Well, unless you want to rule out using exists-expressions for checking “at-least-one” conditions.  Which I didn’t know we wanted.)

Grüße, Carsten