xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erwin Brandenberger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (XALANC-749) Xalan ICU format-number problem
Date Tue, 09 Jul 2013 08:57:50 GMT
Erwin Brandenberger created XALANC-749:
------------------------------------------

             Summary: Xalan ICU format-number problem
                 Key: XALANC-749
                 URL: https://issues.apache.org/jira/browse/XALANC-749
             Project: XalanC
          Issue Type: Bug
    Affects Versions: 1.11
         Environment: Windows 8, ICU 5.1.2, Xerces-C 3.1.1 ICU compiled
            Reporter: Erwin Brandenberger
            Assignee: Steven J. Hathaway


I compiled the xalan libraries for ICU.

Now I want to use the format-number method, but when i use the decimal-format i got an unknown
entity error (see below).

I checked with samples from the net, but they look the same I programmed.

Do have an idea what the problem is ?

Regards
Erwin

C:\Users\Erwin\Downloads\xalan_c-1.11-src\xalan-c-1.11\c\Build\Win32\VC10\Debug.ICU>XalanTransform.exe
Erwin.xml Erwin.xslt Erwin.html
XSLT warning: The call to 'format-number()' failed. (Occurred in an unknown entity, at line
8, column 8.)
Source tree node: #document.

Erwin.xslt

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:decimal-format name="erwin" grouping-separator="'" decimal-separator="."/>
<xsl:template match="/">
<html>
<body>
	<xsl:value-of select="format-number(32345.564, '###,##0.00')"/>
	<xsl:value-of select="format-number(32345.564, '###,##0.00', 'erwin')"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Erwin.xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<Erwin>
</Erwin>



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


Mime
View raw message