You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2008/04/25 19:47:30 UTC
svn commit: r651664 - /xalan/c/trunk/src/xalanc/TestXSLT/process.cpp
Author: dbertoni
Date: Fri Apr 25 10:47:29 2008
New Revision: 651664
URL: http://svn.apache.org/viewvc?rev=651664&view=rev
Log:
Add support for ICU number formatting as well as collation.
Modified:
xalan/c/trunk/src/xalanc/TestXSLT/process.cpp
Modified: xalan/c/trunk/src/xalanc/TestXSLT/process.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/TestXSLT/process.cpp?rev=651664&r1=651663&r2=651664&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/TestXSLT/process.cpp (original)
+++ xalan/c/trunk/src/xalanc/TestXSLT/process.cpp Fri Apr 25 10:47:29 2008
@@ -129,6 +129,7 @@
#if defined(XALAN_USE_ICU)
#include <xalanc/ICUBridge/ICUBridgeCollationCompareFunctor.hpp>
#include <xalanc/ICUBridge/ICUBridgeCleanup.hpp>
+#include <xalanc/ICUBridge/ICUFormatNumberFunctor.hpp>
#endif
@@ -982,6 +983,10 @@
ICUBridgeCollationCompareFunctor theICUFunctor(theManager, true);
theExecutionContext.installCollationCompareFunctor(&theICUFunctor);
+
+ XalanAutoPtr<ICUFormatNumberFunctor> theFormatNumberFunctor(ICUFormatNumberFunctor::create(theManager));
+ theExecutionContext.installFormatNumberFunctor(theFormatNumberFunctor.get());
+ theFormatNumberFunctor.release();
#endif
if (params.useDOM == false)
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org