PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2888

*** shadow/2888 Mon Jul 30 06:17:00 2001
--- shadow/2888.tmp.23766       Mon Jul 30 06:17:00 2001
***************
*** 0 ****
--- 1,57 ----
+ +============================================================================+
+ | xsltc fails conf test numberformat06 on format-number per-mille format     |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2888                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.0                   |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Solaris                 |
+ |     Priority: Other                     Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ xsltc outputs a ? instead of the character entity &#8240 for per-mille number
+ format.
+ 
+ Expected Output
+ =============== 
+ 
+ <?xml version="1.0" encoding="ISO-8859-1"?>
+ <out>485.7&#8240;</out>
+ 
+ Obtained Ouput
+ ==============
+ <?xml version="1.0" encoding="ISO-8859-1" ?>
+ <out>485.7?</out>
+ 
+ XSLT
+ ====
+ <?xml version="1.0" encoding="ISO-8859-1"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+ 
+   <!-- FileName: NUMBERFORMAT06 -->
+   <!-- Document: http://www.w3.org/TR/xslt -->
+   <!-- DocVersion: 19991116 -->
+   <!-- Section: 12.3 -->
+   <!-- Creator: David Marston -->
+   <!-- Purpose: Test of format-number per-mille format. -->
+ 
+ <xsl:output method="xml" encoding="ISO-8859-1"/>
+ 
+ <xsl:template match="doc">
+   <out>
+     <xsl:value-of select="format-number(0.4857,'###.###&#8240;')"/>
+   </out>
+ </xsl:template>
+ 
+ </xsl:stylesheet>
+ 
+ XML
+ ===
+ <?xml version="1.0"?>
+ <doc>
+ </doc>

Reply via email to