Re: [Jsonpath] Remarks on the JSONPath ABNF grammar in draft-goessner-dispatch-jsonpath-00.html

Glyn Normington <glyn.normington@gmail.com> Fri, 13 November 2020 07:30 UTC

Return-Path: <glyn.normington@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 412703A15F0 for <jsonpath@ietfa.amsl.com>; Thu, 12 Nov 2020 23:30:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84l4Q8Kmi4Tv for <jsonpath@ietfa.amsl.com>; Thu, 12 Nov 2020 23:30:24 -0800 (PST)
Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C8BA3A15EC for <jsonpath@ietf.org>; Thu, 12 Nov 2020 23:30:24 -0800 (PST)
Received: by mail-wm1-x332.google.com with SMTP id c9so7196747wml.5 for <jsonpath@ietf.org>; Thu, 12 Nov 2020 23:30:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=VlyvK3YJ5lCLcfTofcayly0N8hgrcNrfQ+Jfq1PlrF8=; b=I2M3Qy7lCv0xIrGsqFuSZiJyiiWcXiBY340GI7Ip5yn4CTrfWeJXV1TXnh67W3ttwR /nRrOdl1Qtaw8t/p3dRulhjzI3k8hQpbFWtgPtVaZSGOALXQYtqUmTAv4wb9slR60GGo VTjBttJ5msmyqa2uBZ8OBjcAx+mOJERIwZpOzuUz2JBsqsKSoSqrGf5Nl8gvPo0oT/H1 Q6h5lANJFEga1Ii3qSD4pJZNDNZKOWoKq0C70/zkAiZOGpgpvwd+Rc23pSHyUsyKiNK+ rQU5LgH+5AekVDY+sV5H+OeSLxgl4k8deMrtz8taZmHjUYoaPgT2RLC7GN0i2Xnt3sxB T5OA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=VlyvK3YJ5lCLcfTofcayly0N8hgrcNrfQ+Jfq1PlrF8=; b=hjRoU2Uv0bfxvDB0T5DOTlMJhT710+UD7ByULpt7UtaESX25BDvgRDMs8hy3GumddS yQ/I1WOC4QbLNgPk7RMkZJqo8xouXsRcgyVXtbRZKKOVNgttO3oPBe9L/UX7KLKPo+hS vFlD6K8P+iqKUVRhRwS4e/3OTkfrEz2miCCA9f/A+I24ClZ6CeavAWWQq2YinxLEZyIE lLnlStFdGeCJAqRSxz+wC9UzC2scm+plxbP2XcyU2ZDKvhg5PkoJkLA5l8o024pbLQne Tde3QtJAwIzt7BAW2Rx+8JLmPuyC+J74dkGcbPMEBJrUGJF/x6JGeMVxARzhSlL6Y1ma zsBA==
X-Gm-Message-State: AOAM533EHg5RLIhKQZhuqgsxXal4dDjwWlDsQ6iWXvqVHlyaOx0EvoJ9 /tJsNAyVOonGfRVg0T1sMYo=
X-Google-Smtp-Source: ABdhPJyo3Xon7kNxhKd8rJ3xFIJa3CZApE2TioRUy3451bt6GL8ek/IRe81kIyHbTqAH8TPtZ+gcxQ==
X-Received: by 2002:a1c:c30a:: with SMTP id t10mr1037787wmf.183.1605252622985; Thu, 12 Nov 2020 23:30:22 -0800 (PST)
Received: from normingtong-a01.lan (2.144.199.146.dyn.plus.net. [146.199.144.2]) by smtp.gmail.com with ESMTPSA id n10sm9692988wrv.77.2020.11.12.23.30.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Nov 2020 23:30:22 -0800 (PST)
From: Glyn Normington <glyn.normington@gmail.com>
Message-Id: <FED9A56B-2AF6-4689-A4B8-1643DBD5B1AA@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A6906D08-7F19-4396-8EC4-FDCB0617D64C"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Fri, 13 Nov 2020 07:30:21 +0000
In-Reply-To: <CA+mwktJNRJr63_Lx1vNA2FBX4gYJWP3CXvcbhuXS-Exe_h9jwg@mail.gmail.com>
Cc: jsonpath@ietf.org
To: Daniel P <danielaparker@gmail.com>
References: <mailman.76.1605124809.24440.jsonpath@ietf.org> <CA+mwktJNRJr63_Lx1vNA2FBX4gYJWP3CXvcbhuXS-Exe_h9jwg@mail.gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/4rjOQd4hYka-Iwq7vbANPrQLT7w>
Subject: Re: [Jsonpath] Remarks on the JSONPath ABNF grammar in draft-goessner-dispatch-jsonpath-00.html
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: Fri, 13 Nov 2020 07:30:26 -0000

Hi Daniel

On 12 Nov 2020, at 17:37, Daniel P <danielaparker@gmail.com> wrote:
> 
> Note that a slice expression in Goessner is defined with reference to
> the (long since abandoned) ECMASCRIPT 4. The original link is lost,
> but there is some discussion here,
> https://web.archive.org/web/20070125020659/developer.mozilla.org/es4/proposals/slice_syntax.html <https://web.archive.org/web/20070125020659/developer.mozilla.org/es4/proposals/slice_syntax.html>.

We plugged that gap in the Gössner article thus:

https://jsonpath-standard.github.io/internet-draft/#name-array-selector-2 <https://jsonpath-standard.github.io/internet-draft/#name-array-selector-2>

which may be a safer starting point for the WG.

Regards,
Glyn