From aa0cca68177db58ede11ef1f32b2dc82aa119fc3 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Tue, 9 Nov 2021 14:37:06 +0000 Subject: [PATCH 1/2] Defines what happens when relative JSON pointer starts with zero --- relative-json-pointer.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/relative-json-pointer.xml b/relative-json-pointer.xml index 03654ef3..02855426 100644 --- a/relative-json-pointer.xml +++ b/relative-json-pointer.xml @@ -125,8 +125,9 @@ Evaluation begins by processing the non-negative-integer prefix. This can be found by taking the longest continuous sequence of decimal digits available, starting from the beginning of the string, taking - the decimal numerical value. If this value is more than zero, then - the following steps are repeated that number of times: + the decimal numerical value. If the value is zero, the following stepps + are skipped. If this value is more than zero, then the following steps + are repeated that number of times: If the current referenced value is the root of the document, then From 43aa7f1ff4b56fcb88489f1696fe6aa01e0d218f Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Thu, 11 Nov 2021 13:15:12 +0000 Subject: [PATCH 2/2] Update relative-json-pointer.xml Fix typo! Co-authored-by: Ethan <133719+notEthan@users.noreply.github.com> --- relative-json-pointer.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relative-json-pointer.xml b/relative-json-pointer.xml index 02855426..1bd0121a 100644 --- a/relative-json-pointer.xml +++ b/relative-json-pointer.xml @@ -125,7 +125,7 @@ Evaluation begins by processing the non-negative-integer prefix. This can be found by taking the longest continuous sequence of decimal digits available, starting from the beginning of the string, taking - the decimal numerical value. If the value is zero, the following stepps + the decimal numerical value. If the value is zero, the following steps are skipped. If this value is more than zero, then the following steps are repeated that number of times: