DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4601>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4601 'multiplier' in XResources_ja_JP_*.java is out of the range of integer Summary: 'multiplier' in XResources_ja_JP_*.java is out of the range of integer Product: XalanJ2 Version: CurrentCVS Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.res AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following was reported by [EMAIL PROTECTED] 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
