Hello Dave, I have reproduced the problem with XalanExe. I first used the executable built with MSVC 7.1, and experienced a crash. I then used MSVC 7.1 to run XalanExe in the debugger with the same parameters as the command line.
If you need anything, let me know. I can run any test you suggest. I can also send the source xml, xsl, stack trace either in files to an email, or in the mailing list as you prefer. Regards, Michel. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 2:14 PM To: [email protected] Subject: Re: Access violation with Xalan 1.3 recompiled with MSVC 7.1 (.NET) > Xalan 1.3 > Compiler: Microsoft Visual C++ 7.1.3088 > > Problem: > First-chance exception at 0x01873eb1 (XSLTD.dll) in NsaServer.exe: > 0xC0000005: Access violation reading location 0x243c3358. > > The problem happens when attempting a transform using a precompiled > style sheet. The same code used to work with the binaries distributed > on the Apache website and linked into our project using MSVC 6.0. > We've been using Xerces and Xalan 1.3 for years, and we unfortunately > cannot upgrade the libs just yet. But we had to rebuild the source > code using .NET for compatibility. > > > Here's how I call transform: > > ostrstream OutputStream; > istrstream & XMLInputStream > [...] > Transformer.transform(&XMLInputStream, pPrecompiledStyleSheet, > OutputStream); > > > Did I miss a compiler setting? > Or is there any know problem between the STL implementation with MSVC > 7.1 (.NET) and the Xalan 1.3 code base? The first thing I would suggest you do is try to reproduce the problem outside of your product. First, try using Xalan-C 1.3, then try the latest version as well. It should be easy to reproduce this from the command line using Xalan.exe. If you can reproduce it outside of your produect, then we can look into it to see if it's a bug in the code or one in the compiler/library. 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]
