Skip to content

Commit daf7e0b

Browse files
authored
Update note on exact numeric match for v46 (#891)
Addresses #887 Non-normative changes to the notes specifically part of LDML46
1 parent 6c3704f commit daf7e0b

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

spec/registry.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,11 @@ for examples.
488488
#### Determining Exact Literal Match
489489
490490
> [!IMPORTANT]
491-
> The exact behavior of exact literal match is only defined for non-zero-filled
491+
> The exact behavior of exact literal match is currently only well defined for non-zero-filled
492492
> integer values.
493493
> Functions that use fraction digits or significant digits might work in specific
494494
> implementation-defined ways.
495-
> Users should avoid depending on these types of keys in message selection.
495+
> Users should avoid depending on these types of keys in message selection in this release.
496496
497497
498498
Number literals in the MessageFormat 2 syntax use the
@@ -502,10 +502,19 @@ if, when the numeric value of `resolvedSelector` is serialized using the format
502502
the two strings are equal.
503503
504504
> [!NOTE]
505-
> Only integer matching is required in the Technical Preview.
506-
> Feedback describing use cases for fractional and significant digits-based
507-
> selection would be helpful.
508-
> Otherwise, users should avoid using matching with fractional numbers or significant digits.
505+
> The above description of numeric matching contains
506+
> [open issues](https://github.com/unicode-org/message-format-wg/issues/675)
507+
> in the Technical Preview, since a given numeric value might be formatted in
508+
> several different ways under RFC8259
509+
> and since the effect of formatting options, such as the number of fraction
510+
> digits or significant digits, is not described.
511+
> The Working Group intends to address these issues before final release
512+
> with a number of design options
513+
> [being considered](https://github.com/unicode-org/message-format-wg/pull/859).
514+
>
515+
> Users should avoid creating messages that depend on exact matching of non-integer
516+
> numeric values.
517+
> Feedback, including use cases encountered in message authoring, is strongly desired.
509518
510519
## Date and Time Value Formatting
511520

0 commit comments

Comments
 (0)