Affects Version/s: 1.9
Fix Version/s: None
Environment:Windows XP SP2, Visual Studio 7.1
When initializing XalanC with :
a math error occured. We defined "_matherr" on our projects to correct some common errors. Info on _matherr could be found here : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__matherr.asp
The problem really occurs when calling :
DoubleSupport::initialize( theManager ) in PlatformSupportInit::initialise( theManager )
This is the most accurate location I could give based on my call-stack.
The struct exception (argument receive in _matherr ) tell us that :
you are calling "sqrt" with a negative value (-2.00999999999...8)
If we correct the error by assigning retval with 0, XalanC do not initialize correctly.