Per Cederin wrote:
Hi,
I am using xerces 2.7 an xalan 1.10.
When using, ICU to support number formatting and sorting,
the “Basic usage patterns” describes that the header file:
#include <xalanc/ICUBridge/FunctionICUFormatNumber.hpp>
among others, should be included.
That file is not found in the xalan package and therefore could the
following not be performed:
// Install ICU support for the format-number() function.
FunctionICUFormatNumber::FunctionICUFormatNumberInstaller theInstaller;
OK, that documentation is out of date. Can you please file a Jira issue
so I can update it?
If you're using the XalanTransformer class, the easiest thing to do is
to re-build Xalan with ICU support integrated. If you read the rest of
the page, you'll see the instructions for doing that. The
XalanTransformer constructor takes care of doing all of the necessary
steps to integrate the ICU.
If you're not using the XalanTransformer class, then you can take a look
at the what the constructor does, but it's best if you use the
XalanTransformer class instead.
Dave