You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by ga...@apache.org on 2001/08/08 06:59:07 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/templates FuncFormatNumb.java
garyp 01/08/07 21:59:07
Modified: java/src/org/apache/xalan/templates FuncFormatNumb.java
Log:
Fix bugzilla bug 3036 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3036). When no xsl:decimal-format element is supplied in the composed stylesheet, the defaults specified in the Recommendation section 12.3 should be used for the attribute values, not locale-specific defaults.
Revision Changes Path
1.16 +1 -1 xml-xalan/java/src/org/apache/xalan/templates/FuncFormatNumb.java
Index: FuncFormatNumb.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/FuncFormatNumb.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- FuncFormatNumb.java 2001/07/28 00:25:58 1.15
+++ FuncFormatNumb.java 2001/08/08 04:59:07 1.16
@@ -155,7 +155,7 @@
}
else
{
- dfs = new java.text.DecimalFormatSymbols();
+ dfs = new java.text.DecimalFormatSymbols(java.util.Locale.US);
dfs.setInfinity(Constants.ATTRVAL_INFINITY);
dfs.setNaN(Constants.ATTRVAL_NAN);
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org