First of all, thanks for you quick reply. I saw the XALANC-511 post, but this was for AIX environment. I am having the same problem for Windows XP environment and Visual Studio .NET.
>From my application (that uses Xalan) I got the error : Unhandled exception: Floating-point invalid operation. When executing : s_NaN.d = sqrt(-2.01); (in DoubleSupport::initialize()). Do I have to add any special compiling/linking options? Thanks again! This is driving me nuts :-( Marc. -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de mayo de 2005 18:12 Para: [email protected] Asunto: Re: Xalan 1.9 crashes? > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
