[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #6799(closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Ethiopic numbering system (RBNF) does not always give expected results, and does not roundtrip due to incorrect (ambiguous) output

Reported by: kent.karlsson14@… Owned by: grhoten
Component: data-other Data Locale: root
Phase: rc Review: emmons
Weeks: Data Xpath:
Xref:

Description

Here is a table of some expected results:
http://www.geez.org/Numerals/NumberSamples.html

Here is a proposed fix:

%%ethiopic-p:
1: =%ethiopic=;
10000: <%%ethiopic-d<፼[>>];
100000000: <%%ethiopic-d<፼>%%ethiopic-p1>;
1000000000000: <%%ethiopic-d<፼>%%ethiopic-p2>;
10000000000000000: <%%ethiopic-d<፼>%%ethiopic-p3>;
1000000000000000000: ERR;

%%ethiopic-p1:
0: ፼;
1: ፼=%%ethiopic-p=;
10000: <%ethiopic<፼[>%ethiopic>];
100000000: ERR;
%%ethiopic-p2:
0: ፼፼;
1: ፼፼=%%ethiopic-p=;
100000000: <%ethiopic<፼>%%ethiopic-p1>;
1000000000000: ERR;
%%ethiopic-p3:
0: ፼፼፼;
1: ፼፼፼=%%ethiopic-p=;
1000000000000: <%ethiopic<፼>%%ethiopic-p2>;
10000000000000000: ERR;

%%ethiopic-d:
0: ባዶ;
1: ፩;
2: ፪;
3: ፫;
4: ፬;
5: ፭;
6: ፮;
7: ፯;
8: ፰;
9: ፱;
10: ERR;

%ethiopic:
-x: −>>;
x.x: <<፡>>>;
0: =%%ethiopic-d=;
10: ፲[>>];
20: ፳[>>];
30: ፴[>>];
40: ፵[>>];
50: ፶[>>];
60: ፷[>>];
70: ፸[>>];
80: ፹[>>];
90: ፺[>>];
100: ፻[>>];
200: <%%ethiopic-d<፻[>>];
10000: ፼[>>];
20000: <%%ethiopic-d<፼[>>];
100000000: ፼>%%ethiopic-p1>;
200000000: <%%ethiopic-d<፼>%%ethiopic-p1>;
1000000000000: ፼>%%ethiopic-p2>;
2000000000000: <%%ethiopic-d<፼>%%ethiopic-p2>;
10000000000000000: ፼>%%ethiopic-p3>;
20000000000000000: <%%ethiopic-d<፼>%%ethiopic-p3>;
1000000000000000000: =#,###0=;

It still does not roundtrip properly for (much fewer) values, like
1000000010000 ፼፼፼፩፼ Error parsed as 2000000010000,
but the output is now correct and unambiguous.

Attachments

Change History

comment:1 Changed 4 years ago by emmons

  • Owner changed from anybody to grhoten
  • Status changed from new to assigned
  • Type changed from unknown to defect
  • Milestone changed from UNSCH to 25rc

comment:2 Changed 4 years ago by grhoten

  • Status changed from assigned to closed
  • Resolution set to wontfix

1000 formats as ERR፻ with these rules.

According to the geez.org web site, it should be ፲፻, which is how it currently works for the numbering system. These new rules are invalid. If there are currently errors, please clarify what the current and expected behavior are. If you are submitting new rules, please make sure that there are no regressions so that we make sure that the revised behavior doesn't get worse.

comment:3 Changed 4 years ago by kent.karlsson14@…

Right. Last minute "fix" that went badly wrong. Sorry.

Here are the rules I actually developed and tested, and I retested now again:

%%ethiopic-p:
1: =%ethiopic=;
10000: <<፼[>>];
100000000: <<፼>%%ethiopic-p1>;
1000000000000: <<፼>%%ethiopic-p2>;
10000000000000000: <<፼>%%ethiopic-p3>;
1000000000000000000: ERR;

%%ethiopic-p1:
0: ፼;
1: ፼=%%ethiopic-p=;
10000: <%ethiopic<፼[>%ethiopic>];
100000000: ERR;
%%ethiopic-p2:
0: ፼፼;
1: ፼፼=%%ethiopic-p=;
100000000: <%ethiopic<፼>%%ethiopic-p1>;
1000000000000: ERR;
%%ethiopic-p3:
0: ፼፼፼;
1: ፼፼፼=%%ethiopic-p=;
1000000000000: <%ethiopic<፼>%%ethiopic-p2>;
10000000000000000: ERR;

%ethiopic:
-x: −>>;
x.x: <<፡>>>;
0: ባዶ;
1: ፩;
2: ፪;
3: ፫;
4: ፬;
5: ፭;
6: ፮;
7: ፯;
8: ፰;
9: ፱;
10: ፲[>>];
20: ፳[>>];
30: ፴[>>];
40: ፵[>>];
50: ፶[>>];
60: ፷[>>];
70: ፸[>>];
80: ፹[>>];
90: ፺[>>];
100: ፻[>>];
200: <<፻[>>];
10000: ፼[>>];
20000: <<፼[>>];
100000000: ፼>%%ethiopic-p1>;
200000000: <<፼>%%ethiopic-p1>;
1000000000000: ፼>%%ethiopic-p2>;
2000000000000: <<፼>%%ethiopic-p2>;
10000000000000000: ፼>%%ethiopic-p3>;
20000000000000000: <<፼>%%ethiopic-p3>;
1000000000000000000: =#,###0=;

comment:4 Changed 4 years ago by kent.karlsson14@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

(reopen)

comment:5 Changed 3 years ago by emmons

  • Milestone changed from 25rc to 26rc

comment:6 Changed 3 years ago by grhoten

  • Review set to grhoten

comment:7 Changed 3 years ago by grhoten

  • Review grhoten deleted

comment:8 Changed 3 years ago by grhoten

Apparently Trac can't really reopen tickets. So I'll have to resubmit as a different ticket so that this issue is properly reviewed.

comment:9 Changed 3 years ago by srl

  • Status changed from reopened to new

comment:10 Changed 3 years ago by grhoten

  • Status changed from new to reviewing
  • Review set to emmons

comment:11 Changed 3 years ago by emmons

  • Status changed from reviewing to closed
  • Resolution set to fixed

comment:12 Changed 3 years ago by markus

  • Phase set to rc
  • Milestone changed from 26rc to 26

comment:13 Changed 3 years ago by pedberg

  • Component changed from data-main to data-other
View

Add a comment

Modify Ticket

Action
as closed
Next status will be 'new'
Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.