Math error (traped with _matherr) when initializing XalanC.
-----------------------------------------------------------
Key: XALANC-546
URL: http://issues.apache.org/jira/browse/XALANC-546
Project: XalanC
Type: Bug
Components: XalanC
Versions: 1.9
Environment: Windows XP SP2, Visual Studio 7.1
Reporter: Martin Boucher
Priority: Blocker
When initializing XalanC with :
XalanTransformer::initialize()
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]