Skip to content

Commit 778d784

Browse files
eemeliaphillipsmacchiati
authored
Limit spec-defined option values (#929)
* Limit spec-defined option values * Apply changes adopted during the 2024-11-11 call * Update spec/README.md Co-authored-by: Mark Davis <[email protected]> * Reserve single-character uppercase namespaces * Be explicit about reserved characters --------- Co-authored-by: Addison Phillips <[email protected]> Co-authored-by: Mark Davis <[email protected]>
1 parent bf65321 commit 778d784

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

spec/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ Updates to this specification will not make any valid _message_ invalid.
8484

8585
Updates to this specification will not remove any syntax provided in this version.
8686

87-
Updates to this specification MUST NOT specify an error for any message
87+
Updates to this specification will not specify an error for any message
8888
that previously did not specify an error.
8989

90-
Updates to this specification MUST NOT specify the use of a fallback value for any message
90+
Updates to this specification will not specify the use of a fallback value for any message
9191
that previously did not specify a fallback value.
9292

9393
Updates to this specification will not change the syntactical meaning
@@ -107,12 +107,17 @@ defined in the default registry.
107107
> (such as due to the release of new CLDR versions).
108108
109109
Updates to this specification will only reserve, define, or require
110-
function names or function option names
111-
consisting of characters in the ranges a-z, A-Z, and 0-9.
112-
All other names in these categories are reserved for the use of implementations or users.
110+
function identifiers and function option identifiers
111+
which satisfy either of the following two requirements:
112+
- Includes no namespace,
113+
and has a name consisting of characters in the ranges a-z, A-Z, and 0-9,
114+
and the characters U+002E FULL STOP `.`, U+002D HYPHEN-MINUS `-`, and U+005F LOW LINE `_`.
115+
- Uses a namespace consisting of a single character in the ranges a-z and A-Z.
116+
117+
All other identifiers in these categories are reserved for the use of implementations or users.
113118

114119
> [!NOTE]
115-
> Users defining custom names SHOULD include at least one character outside these ranges
120+
> Users defining custom identifiers SHOULD include at least one character outside these ranges
116121
> to ensure that they will be compatible with future versions of this specification.
117122
> They SHOULD also use the namespace feature to avoid collisions with other implementations.
118123

0 commit comments

Comments
 (0)