Skip to content

Commit 1de426c

Browse files
authored
Merge pull request #1147 from Relequestual/exactly-zero
Defines what happens when relative JSON pointer starts with zero
2 parents 2c70d2e + 43aa7f1 commit 1de426c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

relative-json-pointer.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@
125125
Evaluation begins by processing the non-negative-integer prefix.
126126
This can be found by taking the longest continuous sequence of decimal
127127
digits available, starting from the beginning of the string, taking
128-
the decimal numerical value. If this value is more than zero, then
129-
the following steps are repeated that number of times:
128+
the decimal numerical value. If the value is zero, the following steps
129+
are skipped. If this value is more than zero, then the following steps
130+
are repeated that number of times:
130131
<list>
131132
<t>
132133
If the current referenced value is the root of the document, then

0 commit comments

Comments
 (0)