Skip to content

Commit

Permalink
character-repertoire issues
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Bray <tbray@textuality.com>
  • Loading branch information
timbray committed Sep 21, 2023
1 parent 380e5a8 commit 875de4f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions draft-ietf-jsonpath-base.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ companion to, JSON Pointer {{RFC6901}}. See {{json-pointer}}.

The grammatical rules in this document are to be interpreted as ABNF,
as described in {{-abnf}}.
ABNF terminal values in this document define Unicode code points rather than
ABNF terminal values in this document define Unicode scalar values rather than
their UTF-8 encoding.
For example, the Unicode PLACE OF INTEREST SIGN (U+2318) would be defined
in ABNF as `%x2318`.
Expand Down Expand Up @@ -526,7 +526,7 @@ these nodes as a nodelist.

A query MUST be encoded using UTF-8.
The grammar for queries given in this document assumes that its UTF-8 form is first decoded into
Unicode code points as described
Unicode scalar valuess as described
in {{RFC3629}}; implementation approaches that lead to an equivalent
result are possible.

Expand Down Expand Up @@ -831,6 +831,12 @@ sequences of Unicode scalar values. In other words, normalization operations
MUST NOT be applied to either the member name string `M` from the JSONPath or to
the member name strings in the JSON prior to comparison.

Note that the "\u" Unicode character escape is dissimilar from the
same escape mechanism in JSON. In JSON, Unicode scalar values greater than
U+FFFF are given in two \u escapes, each carrying one UTF-16 surrogate
code point. In JSON, U+1F609 WINKING FACE EMOJI would be represented
as \uD83D\uDE09, but in JSONPath it would just be be \u1F609.

#### Examples

<!-- EDITING NOTE: there are non-breaking spaces here between j and j -->
Expand Down Expand Up @@ -1808,7 +1814,8 @@ bracketed-selection = "[" S selector *(S "," S selector) S "]"
member-name-shorthand = name-first *name-char
name-first = ALPHA /
"_" /
%x80-10FFFF ; any non-ASCII Unicode character
%x7E-D7FF / ; skip surrogate code points
%xE000-10FFFF
name-char = DIGIT / name-first

DIGIT = %x30-39 ; 0-9
Expand Down
2 changes: 1 addition & 1 deletion lib
Submodule lib updated 72 files
+12 −12 .github/workflows/docker.yml
+5 −29 .github/workflows/template.yml
+0 −3 .gitignore
+0 −4 Gemfile
+1 −1 action.yml
+10 −33 archive.mk
+59 −127 build-index.sh
+8 −17 build-targets.sh
+23 −47 config.mk
+0 −252 deps.mk
+16 −19 doc/ADOPTING.md
+6 −7 doc/FEATURES.md
+89 −0 doc/LINTING.md
+92 −42 doc/SETUP.md
+41 −61 doc/SUBMITTING.md
+4 −7 doc/TEMPLATE.md
+5 −2 doc/TIPS.md
+0 −150 doc/TOOLS.md
+0 −46 doc/UPDATE.md
+0 −269 doc/WEB.md
+ doc/images/comment-line.png
+ doc/images/commit-branch.png
+ doc/images/commit-main.png
+ doc/images/edit.png
+ doc/images/pr-broken.png
+ doc/images/pr-conflict.png
+ doc/images/pr-edit.png
+ doc/images/pr-files.png
+ doc/images/pr-interstitial.png
+ doc/images/pr-merge.png
+ doc/images/pr-resolve-controls.png
+ doc/images/pr-revert.png
+ doc/images/pr-review.png
+ doc/images/pr-update.png
+ doc/images/pr.png
+20 −9 docker/action/Dockerfile
+0 −4 docker/action/Gemfile
+1 −4 docker/action/entrypoint.sh
+0 −8 docker/action/requirements.txt
+1 −9 docker/math/Dockerfile
+5 −29 extract-metadata.py
+0 −37 format-trace.sh
+23 −44 ghpages.mk
+11 −22 id.mk
+58 −56 main.mk
+7 −9 pre-commit.sh
+1 −1 pre-push.sh
+0 −8 requirements.txt
+3 −9 setup-branch.sh
+27 −34 setup-note.sh
+5 −5 setup-readme.sh
+11 −17 setup.mk
+0 −29 targets.mk
+1 −1 template/.circleci/config.yml
+1 −10 template/.github/workflows/archive.yml
+15 −13 template/.github/workflows/ghpages.yml
+16 −14 template/.github/workflows/publish.yml
+3 −3 template/.github/workflows/update.yml
+7 −14 template/.gitignore
+0 −4 tests/setup.feature
+10 −10 tests/steps/build_commands.py
+4 −3 tests/steps/repo_setup.py
+18 −30 tests/steps/results.py
+3 −10 tests/upload.feature
+0 −37 trace.sh
+0 −49 update-venue.sh
+18 −36 update.mk
+9 −35 upload.mk
+86 −95 v3.css
+0 −274 venv.mk
+0 −32 wg-meta.sh
+145 −0 xml2rfc-tidy.py

0 comments on commit 875de4f

Please sign in to comment.