Re: [Jsonpath] June interim meeting

Carsten Bormann <cabo@tzi.org> Mon, 14 June 2021 13:01 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 D65C53A2390 for <jsonpath@ietfa.amsl.com>; Mon, 14 Jun 2021 06:01:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 dDcL3zNJSbVu for <jsonpath@ietfa.amsl.com>; Mon, 14 Jun 2021 06:01:09 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 649783A2392 for <jsonpath@ietf.org>; Mon, 14 Jun 2021 06:01:08 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G3Wm24n4gz2xFT; Mon, 14 Jun 2021 15:01:06 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1762295565.3357364.1623674396589@mail.yahoo.com>
Date: Mon, 14 Jun 2021 15:01:06 +0200
Cc: Glyn Normington <glyn.normington.work@gmail.com>, "jsonpath@ietf.org" <jsonpath@ietf.org>, Tim Bray <tbray@textuality.com>
X-Mao-Original-Outgoing-Id: 645368465.774048-be4979f8b90abb8a78cf2d441f5e94c0
Content-Transfer-Encoding: quoted-printable
Message-Id: <838EBF4F-94FD-441E-9E4A-B4962ED68BD2@tzi.org>
References: <CAHBU6iuJr5Z-r0ZT_qwj=Si_oOGUuY_4g7qshuoBQwG0zBCshg@mail.gmail.com> <0CB072D0-915E-48C9-9777-A274EB871F60@tzi.org> <CANH0Gb+bbSUZU_BXCPSGxRDbB-SiPE46Q537rr5c6OiAG6e1zA@mail.gmail.com> <1762295565.3357364.1623674396589@mail.yahoo.com>
To: Greg Dennis <gregsdennis=40yahoo.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/gy75G15i2sC1k__d851jJV8_0N4>
Subject: Re: [Jsonpath] June interim meeting
X-BeenThere: jsonpath@ietf.org
X-Mailman-Version: 2.1.29
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, 14 Jun 2021 13:01:14 -0000

On 2021-06-14, at 14:39, Greg Dennis <gregsdennis=40yahoo.com@dmarc.ietf.org> wrote:
> 
> #97 has been rebased.

Thank you.  Please see my recent comment.

> Carsten, would you explain your understanding of the difference between string in JSON and strings in JSONPath, please?  

This is best explained in my draft slides, https://github.com/ietf-wg-jsonpath/slides-wip/blob/main/2021-06-15-jsonpath-cabo.pdf

> Isn't JSONPath built on JSON?  Wouldn't that necessitate the same definition?  

That is getting to the core of the issue.
The definitions in RFC 8259 (actually, there is no formal definitions section there) cannot be used without additional salting, as they do not distinguish between the data and the notation.
JSONPath does not operate on JSON notation (“JSON text” in RFC 8259), but on JSON data.
So we have to do the work RFC 8259 didn’t.

> You've been rather aggressive

s/aggressive/terse/

> with comments on strings, but you haven't offered any alternatives or reasons for your objections.  You've simply stated that what Stefan and I have written is wrong.  (I've tried to follow from your "slides," but they seem more like fragmented notes: reminders of talking points for you.  There's not really much reasoning to follow in there.)

OK, so maybe we do need to discuss this online tomorrow.

> My primary objection to the use of "literals" (and why I used "values" instead) is that we discussed and agreed using "values" in the previous meeting.  

Of course, because we do need the values (I wanted to be more explicit here, but we arrived at using the RFC 8259 terms here).
We also need the notation for the values, and a common word for that has been “literal” (see ECMA-262 for many examples).

> We never discussed the word "literal."  If this is the direction you'd like us to go, that's fine, but we need to discuss it first.  Instead, you've both proposed it and urgently pushed for it on both of the major change sets.

I think we have a different perception of how common this term is, so that may explain our different perception of how necessary a discussion of this term is.
It sure was good enough for ECMA-262.

Grüße, Carsten