Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
2.7.1
-
None
-
None
-
Operating System: All
Platform: All
-
4601
Description
The following was reported by kenichi.kurosaki@sun.com as bug 4521704 in
Sun Microsystem's bugtraq.
[Kenichi said]
In localizing the following resources, the range of integer is not
big enough for Japanese multiplier.
src/share/classes/org/apache/xml/utils/res/XResources_ja_JP_*.java
The multilicative-additive numbering for Japanese should be as follows.
Unit of the number Unicode# Value
--------------------------------------------------
Kei 0x4EAC 10000000000000000
Chou 0x5146 1000000000000
Oku 0x5104 100000000
Man 0x4E07 10000
Sen 0x5343 1000
Hyaku 0x767E 100
Juu 0x5341 10
The values of 'Kei' (0x4EAC) and 'Chou' (0x5146) are out of the
range of integer but we have to define the values into the code.
[tom amiro said] I looked at the current versions of the resource files
java/src/org/apache/xml/utils/res/XResources_ja_JP_*.java in the build.
Assuming Kenichi is correct, it looks like this could be fixed
easily by using a long or BigInteger class to cover a multiplier as large as
10000000000000000