w3c / json-ld-syntax

JSON-LD 1.1 Specification
https://w3c.github.io/json-ld-syntax/
Other
112 stars 22 forks source link

Change "Lexicographical Order" (and related) to "Unicode code point order". #416

Open gkellogg opened 1 year ago

gkellogg commented 1 year ago

This was raised against another spec in https://github.com/w3c/rdf-canon/issues/18, and a similar change should be made here and in Framing. Note that this shouldn't affect any actual test results.

The definition from rdf-canon is the following:

Unicode code point order This refers to determining the order of two Unicode strings (A and B), using Unicode Codepoint Collation, as defined in [XPATH-FUNCTIONS], which defines a total ordering of strings comparing code points.

Also defines other terms related to "lexical".

See w3x/json-ld-api#141.

gkellogg commented 1 year ago

Summary: Clarify that ordering of strings uses Unicode code point order.