Skip to content

Commit 089fdda

Browse files
committed
Fix accidental ABNF omission
Taking the index of the result of an index manipulation was shown in the example and intended to work, but left out of the ABNF apparently by accident. Also, rework the ABNF to keep it within the text RFC line width.
1 parent 38bc78a commit 089fdda

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

relative-json-pointer.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@
9898
</preamble>
9999
<artwork>
100100
<![CDATA[
101-
relative-json-pointer = non-negative-integer [index-manipulation] <json-pointer>
102-
relative-json-pointer =/ non-negative-integer "#"
101+
relative-json-pointer = origin-specification <json-pointer>
102+
relative-json-pointer =/ origin-specification "#"
103+
origin-specification = non-negative-integer [index-manipulation]
103104
index-manipulation = ("+" / "-") non-negative-integer
104-
non-negative-integer = %x30 / %x31-39 *( %x30-39 )
105+
non-negative-integer = %x30 / %x31-39 *( %x30-39 )
105106
; "0", or digits without a leading "0"
106107
]]>
107108
</artwork>

0 commit comments

Comments
 (0)