> I have the following problem while using Xalan 1.9 with Xerces 2.6: > I compiled successfully both Xerces 2.6 and Xalan 1.9, but when I try to use Xalan: > > XMLPlatformUtils::Initialize(); > XalanTransformer::initialize(); > > the second instruction crashes when calls DoubleSupport::initialize() function. The assignment > s_NaN.d = sqrt(-2.01); causes an Unhandled exception: Floating-point invalid operation.
There have been other reports of this problem, but it depends on your environment. You should try running the Xalan.exe executable that ships with the binary distribution, or any of the sample applications. If they work correctly, then you should verify you are not modifying the default floating point behavior in your application, because the C standard library routine sqrt() is required to fail silently if called with a negative number. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
