Re: [Jsonpath] JSNOPath Interim meeting next week

Stefan Gössner <stefan@goessner.net> Tue, 26 April 2022 07:48 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 367E5C16895A for <jsonpath@ietfa.amsl.com>; Tue, 26 Apr 2022 00:48:01 -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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 coz2Y1y_-HFr for <jsonpath@ietfa.amsl.com>; Tue, 26 Apr 2022 00:47:57 -0700 (PDT)
Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (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 0CBDDC14EB1E for <jsonpath@ietf.org>; Tue, 26 Apr 2022 00:47:56 -0700 (PDT)
Received: from [192.168.178.38] ([88.130.149.252]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1M6EOc-1npsgg1icy-006cKf; Tue, 26 Apr 2022 09:47:42 +0200
Content-Type: multipart/alternative; boundary="------------1pitlxLVv84t0WaNpbCpL60k"
Message-ID: <8f453f11-1e44-2170-8d37-789012cbc212@goessner.net>
Date: Tue, 26 Apr 2022 09:47:42 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1
To: Greg Dennis <gregsdennis@yahoo.com>, cabo@tzi.org, Glyn Normington <glyn.normington.work@gmail.com>
Cc: Tim Bray <tbray@textuality.com>, jsonpath@ietf.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> <4F5F517D-FBD9-4AC0-ABAF-F671AAD4F206@tzi.org> <536650583.781282.1650958646052@mail.yahoo.com>
From: Stefan Gössner <stefan@goessner.net>
In-Reply-To: <536650583.781282.1650958646052@mail.yahoo.com>
X-Provags-ID: V03:K1:9Rxft8ZURUg9WiX4njtArmKEwIEQh/3sMXC4sWCS/pXRre1LFJV OtBYlQY8OtnNMEwXi9T4a5QGH2OKKUdKnHljQP35I+Y95eTTPvsiuwCqJ5blMCc5ccTxC80 4CfdhlFEP/0Yf/bbVYpyG50vkBQENiOg7oCrm2D2qi7IdfmpfKUvazttFXuGc9PFvxCI37e LVgWQGjL7jAkto97QOTIw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:7+97dJl4oJs=:mFNOcSn361prO/+fzcWhlV N0UiXJ0yfMhJaK2o0DF7+eUHIm8pUKjVtZ54n2Nb5S+IIip4vZklg8sj+Ule0/SkCRDJCDqCP df+M71PA+gdDcM9NKcL042PvwHsEDoPJ00RrDly1DzGBrpEhdIffbUE64ZIJGlBHYnb6NG/rX vLlIHwyAhLM/r9+JlhLj9jq7xGVS+k/0vda21OOTXLc6ZVA4bn/bDsMUWp/im7x3cOeUoLHKe GdwBEe0lIvhD5CAdHhSIKFwewbGD3XQI8G8c6JB3kjRBZUh/3ZE3BJ7L1HkgToAFvWOAM0eej Fs6wOZQzkvFSDKw3IkbnK7zfj0LnTdndJygg2e2FgUGLr86A+ak/mIeJKAPSQycnHD+582jIf KvNVzW7qzEHdshT/E8WYnMq1b5NxfDeyF7JW83XFUBIkuu6f922FkHqTgMVM9SbiyODOO57Ja aeKkjQlcOrdtZUpxicdj1kZO3BzENoUKU7++o/RWxRbX4XXkMaLnWxQJNTEeI55uyR0WGa5Qc WB4bpegvh5vxa4B++HalLpBOnEMGefWpgamXOV1gdQcrrS/fXtOHDd+g2MNMfHQPrF2ZaPgYk 12+xU0pc1bf836sBFozQyqA4s00sHCjcSvczU9L4lLnSA4qQKo9OHNxuH/Ken/s8JDqw9K681 mXQe6jQ45+IPahpvl1G1rotWY1uckEV5WG8TzL6mb83tv2/5aK7Shp9MHpGbw6G5RLjY=
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/b_-M52YYH-5KCym8P7PXa5d0quM>
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:48:01 -0000

Yes, that run-time aspect is an important point. So then filters might 
be implemented so, that after the first (at least one !) match they 
return that single node-value in question.

Am 26.04.2022 um 09:37 schrieb Greg Dennis:
> A singular path should be run-time-determined.  If the path returns a 
> single value, it's singular for that data.  This works for dinner 
> expressions (comparisons) as well as a base definition for further 
> refinement in normalized paths.  Comparisons against multi-results 
> just return false (for now; we may want to expand and define this later).
>
> This means that there's not a specific subset of the syntax that can 
> define a singular path, but I think that's fine.
>
> Greg
>
>     On Tue, 26 Apr 2022 at 7:20 pm, Carsten Bormann
>     <cabo@tzi.org> wrote:
>     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
>
>
>     -- 
>     JSONpath mailing list
>     JSONpath@ietf.org
>     https://www.ietf.org/mailman/listinfo/jsonpath
>