From 083c9a1c2b3cf14ab0c7826bab86592964950181 Mon Sep 17 00:00:00 2001 From: Glyn Normington Date: Thu, 20 Jul 2023 11:31:55 +0100 Subject: [PATCH] Address review feedback --- draft-ietf-jsonpath-base.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/draft-ietf-jsonpath-base.md b/draft-ietf-jsonpath-base.md index cb56f073..dc107b42 100644 --- a/draft-ietf-jsonpath-base.md +++ b/draft-ietf-jsonpath-base.md @@ -266,7 +266,9 @@ Normalized Path: Path for a specific query argument, the Normalized Path needs to identify exactly one node. Similar to, but syntactically different from, a JSON Pointer {{-pointer}}. - Note: This definition is based on the syntactical definition in {{normalized-paths}}; JSONPath expressions that identify a node in a value but do not conform to that syntax are not Normalized Paths. + Note: This definition is based on the syntactical definition in {{normalized-paths}}; + JSONPath expressions that identify a node in a value but do not conform to that + syntax are not Normalized Paths. Unicode Scalar Value: : Any Unicode {{UNICODE}} code point except high-surrogate and low-surrogate code points. @@ -282,9 +284,11 @@ Selector: consisting of child nodes of the input value. Singular Query: -: A JSONPath expression built from segments each of which, regardless of the input value, - produces a nodelist containing at most one node. - Note: This definition is based on the syntactical definition in {{filter-selector-syntax}}; JSONPath expressions that always produce a singular nodelist but do not conform to that syntax are not Singular Queries. +: A JSONPath expression built from segments that have been syntactically restricted in + a certain way ({{filter-selector-syntax}}) each of which, regardless of the input + value, produces a nodelist containing at most one node. + Note: JSONPath expressions that always produce a singular nodelist but do not + conform to the syntax in {{filter-selector-syntax}} are not Singular Queries. ### JSON Values as Trees of Nodes