[ http://issues.apache.org/jira/browse/XALANJ-888?page=all ]
Brian Minchau updated XALANJ-888:
---------------------------------
Version: 2.4
(was: Latest Development Code)
> number format for other locale is wrong
> ---------------------------------------
>
> Key: XALANJ-888
> URL: http://issues.apache.org/jira/browse/XALANJ-888
> Project: XalanJ2
> Type: Bug
> Components: Xalan-interpretive, parse-or-compile
> Versions: 2.4
> Environment: Operating System: All
> Platform: All
> Reporter: leon fan
> Assignee: Xalan Developers Mailing List
> Attachments: 1.xsl, testcase.tar
>
> The number format for other locale is wrong,
> Here take simplified chinese as a example:
> 1.
> <xsl:number value="101" format="一">
> "U+4E00" which is chinse's number one which inlcude in
> org/apache/xml/utils/res/XResources_zh_CN.java,
> So according chinse's usage, should get fellow character sequence(express with
> unicdoe, pronunciation "yi bai ning yi" by chinese):
> U+4E00 U+767E U+96F6 U+4E00
> 2. the format "a" and "A" also have same meaning in chinese as it's in
> english.
> So if using fellow:
> <xsl:number value="2" format="a">
> should get the same as C locale: b
> A format token A also should generates the sequence A B ... Z AA AB ...
> format token a should generates the sequence a b ... z aa ab ...
> 3.the format U+FF21 ( which is same as "A" in english, just it's fullwidth and
> english one's is halfwidth),
> <xsl:number format="A">
> So format token U+FF21 should generate the sequence U+FF21 U+FF22 U+FF23 ...
> U+FF3A U+FF21U+FF21 U+FF21U+FF22 ...
> And format token U+FF41 (in english is "a") should generate the sequence
> U+FF41
> U+FF42 ...U+FF5A U+FF41U+FF41 U+FF41U+FF42...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]