Skip to content

Commit f7cb2b5

Browse files
committed
CLDR-17760 Also fix number symbols without numberSystem; update spec accordingly
1 parent 6bca7ad commit f7cb2b5

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

common/main/as.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4661,9 +4661,6 @@ Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/
46614661
<native>beng</native>
46624662
</otherNumberingSystems>
46634663
<minimumGroupingDigits>↑↑↑</minimumGroupingDigits>
4664-
<symbols>
4665-
<timeSeparator draft="unconfirmed">.</timeSeparator>
4666-
</symbols>
46674664
<symbols numberSystem="beng">
46684665
<decimal>↑↑↑</decimal>
46694666
<group>↑↑↑</group>
@@ -4689,6 +4686,7 @@ Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/
46894686
<perMille>↑↑↑</perMille>
46904687
<infinity>↑↑↑</infinity>
46914688
<nan>↑↑↑</nan>
4689+
<timeSeparator draft="unconfirmed">.</timeSeparator>
46924690
</symbols>
46934691
<decimalFormats numberSystem="beng">
46944692
<decimalFormatLength>

docs/ldml/tr35-numbers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ The available number symbols are as follows:
260260
Example:
261261

262262
```xml
263-
<symbols>
263+
<symbols numberSystem="latn>
264264
<decimal>.</decimal>
265265
<group>,</group>
266266
<list>;</list>
@@ -281,7 +281,7 @@ Example:
281281
```xml
282282
<!ATTLIST symbols numberSystem CDATA #IMPLIED >
283283
```
284-
The `numberSystem` attribute is used to specify that the given number symbols are to be used when the given numbering system is active. Number symbols can only be defined for numbering systems of the "numeric" type, since any special symbols required for an algorithmic numbering system should be specified by the RBNF formatting rules used for that numbering system. By default, number symbols without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits. Locales that specify a numbering system other than "latn" as the default should also specify number formatting symbols that are appropriate for use within the context of the given numbering system. For example, a locale that uses the Arabic-Indic digits as its default would likely use an Arabic comma for the grouping separator rather than the ASCII comma.
284+
The `numberSystem` attribute is used to specify that the given number symbols are to be used when the given numbering system is active. Number symbols can only be defined for numbering systems of the "numeric" type, since any special symbols required for an algorithmic numbering system should be specified by the RBNF formatting rules used for that numbering system. By default, number symbols without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits; however, number symbols without a specific `numberSystem` attribute should not be used and will be deprecated in CLDR v48. Locales that specify a numbering system other than "latn" as the default should also specify number formatting symbols that are appropriate for use within the context of the given numbering system. For example, a locale that uses the Arabic-Indic digits as its default would likely use an Arabic comma for the grouping separator rather than the ASCII comma.
285285
For more information on numbering systems and their definitions, see _[Section 1: Numbering Systems](#Numbering_Systems)_.
286286
287287
### <a name="Number_Formats" href="#Number_Formats">Number Formats</a>
@@ -314,15 +314,15 @@ Different formats are provided for different contexts, as follows:
314314
Example:
315315
316316
```xml
317-
<decimalFormats>
317+
<decimalFormats numberSystem="latn">
318318
<decimalFormatLength type="long">
319319
<decimalFormat>
320320
<pattern>#,##0.###</pattern>
321321
</decimalFormat>
322322
</decimalFormatLength>
323323
</decimalFormats>
324324
325-
<scientificFormats>
325+
<scientificFormats numberSystem="latn">
326326
<default type="long"/>
327327
<scientificFormatLength type="long">
328328
<scientificFormat>
@@ -336,7 +336,7 @@ Example:
336336
</scientificFormatLength>
337337
</scientificFormats>
338338
339-
<percentFormats>
339+
<percentFormats numberSystem="latn">
340340
<percentFormatLength type="long">
341341
<percentFormat>
342342
<pattern>#,##0%</pattern>
@@ -349,7 +349,7 @@ Example:
349349
<!ATTLIST symbols numberSystem CDATA #IMPLIED >
350350
```
351351
352-
The `numberSystem` attribute is used to specify that the given number formatting pattern(s) are to be used when the given numbering system is active. By default, number formatting patterns without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits. Locales that specify a numbering system other than "latn" as the default should also specify number formatting patterns that are appropriate for use within the context of the given numbering system.
352+
The `numberSystem` attribute is used to specify that the given number formatting pattern(s) are to be used when the given numbering system is active. By default, number formatting patterns without a specific `numberSystem` attribute are assumed to be used for the "latn" numbering system, which is western (ASCII) digits; however, number formatting patterns without a specific `numberSystem` attribute should not be used and will be deprecated in CLDR v48. Locales that specify a numbering system other than "latn" as the default should also specify number formatting patterns that are appropriate for use within the context of the given numbering system.
353353
For more information on numbering systems and their definitions, see _[Section 1: Numbering Systems](#Numbering_Systems)_.
354354
355355
#### <a name="Compact_Number_Formats" href="#Compact_Number_Formats">Compact Number Formats</a>

docs/ldml/tr35.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,8 @@ The LDML specification is divided into the following parts:
220220
* [References](#References)
221221
* [Acknowledgments](#Acknowledgments)
222222
* [Modifications](#Modifications)
223-
* [Conformance Modifications](#conformance-modifications)
224-
* [Locale Identifiers and Inheritance Modifications](#locale-identifiers-and-inheritance-modifications)
225-
* [Message Format Modifications](#message-format-modifications)
226-
* [Date Modifications](#date-modifications)
227-
* [Units Modifications](#units-modifications)
228-
* [Collation Data Changes](#collation-data-changes)
229-
* [Misc. Modifications](#misc.-modifications)
223+
* [Number symbols and formats without numberSystem](#number-symbols-and-formats-without-numbersystem)
224+
* [Well-formed identifiers](#well-formed-identifiers)
230225

231226
## <a name="Introduction" href="#Introduction">Introduction</a>
232227

@@ -4348,6 +4343,11 @@ Other contributors to CLDR are listed on the [CLDR Project Page](https://www.uni
43484343

43494344
## <a name="Modifications" href="#Modifications">Modifications</a>
43504345

4346+
**Changes in LDML Version 47 (Differences from Version 46.1)**
4347+
4348+
### Number symbols and formats without numberSystem
4349+
- Noted that [Number Symbols](tr35-numbers.md#Number_Symbols) and [Number Formats](tr35-numbers.md#Number_Formats) without a specific `numberSystem` attribute should not be used and will be deprecated in CLDR v48.
4350+
43514351
**Changes in LDML Version 46.1 (Differences from Version 46)**
43524352

43534353
### Well-formed identifiers
@@ -4358,7 +4358,7 @@ Other contributors to CLDR are listed on the [CLDR Project Page](https://www.uni
43584358
- Change the constraints into either well-formedness constraints or validity constraints.
43594359
- Add validity constraints for base-component.
43604360
- Reformat the EBNF to avoid using HTML tables.
4361-
- Updated the [Unit_Preferences](tr35-info.html#Unit_Preferences) to provide well-formedness and validity definitions.
4361+
- Updated the [Unit_Preferences](tr35-info.md#Unit_Preferences) to provide well-formedness and validity definitions.
43624362

43634363

43644364
Note that small changes such as typos and link fixes are not listed above.

0 commit comments

Comments
 (0)