> Please make sure your replies go the list, not to me directly. Nuts, CTRL-R instead of CTRL-SHIFT-R, sorry about that, sticky fingers.
> Another option is for you to move up to Xalan 1.6, which was built and tested against Xerces 2.3.0. Apologies again, I *am* using 1.6 and 2.3.0 together (despite my earlier statement). So I can look into perhaps not rebuilding the DLLs again depending on the answer to this question: Question. If I am going to create my own DLL that wraps around the existing Xalan and Xerces DLLs that ship with 1.6 and 2.3, should I have to recompile Xalan and Xerces on my machine inorder to compile me application? I believe the answer is no, I should be able to use the ones that came with it. If that is so, I will try this process again to see what the errors were again and seek help if I can't figure them out. Since I began using all this, I have learned some things ... :-) TIA, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 2:12 PM To: David Fishburn Cc: [email protected] Subject: RE: Xerces memory error - assertion Hi Dave, Please make sure your replies go the list, not to me directly. You cannot use Xerces 2.3.0 and Xalan 1.5 together without rebuilding Xalan, so if you haven't done that, I can imagine your application would exhibit strange problems. As far as the linker error is concerned, it sounds like you're not linking with the correct version of the library, or something else is out-of-synch. Another option is for you to move up to Xalan 1.6, which was built and tested against Xerces 2.3.0. Hope that helps.... Dave "David Fishburn" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> ere.com> cc: Subject: RE: Xerces memory error - assertion 09/12/2003 10:55 AM I really need to get this working, so I am hoping you have some suggestions. Are you recommending I move back to Xerces 2.2.0? For the app I had to change a bunch of my includes since the directory locations seemed to have changed in Xalan 1.5 and Xerces 2.3. I would have preferred not to need to compile my own Xalan DLL and Xerces DLL, but I could not get compile the samples. I kept getting linker errors compiling the SimpleTransform sample: SimpleTransform error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xalanc_1_5::XalanTransformer::ICUCleanUp(void)" ([EMAIL PROTECTED]@xalanc_1_5@@SAXXZ) referenced in function _main Question. If I am going to create my own DLL, I only need the source code, I should need to compile my own DLLs, right? Thanks, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 12:24 PM To: [email protected] Subject: Re: Xerces memory error - assertion Hi David, Can you create a Bugzilla report and zip up the source file, and a sample input source document and stylesheet and attach it to the report? That way, we have everything we need to reproduce the problem. By the way, are you sure you're using Xalan 1.5? I don't believe it compiled properly with Xerces-C 2.3. Did you make some changes locally to fix the compilation error? Thanks! Dave "David Fishburn" <[EMAIL PROTECTED] To: <[email protected]> ere.com> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Xerces memory error - assertion 09/12/2003 09:14 AM Xalan 1.5 Xerces 2.3.0 WinXP VC6 (so service packs I believe). I built a DLL and under a debug compile I can run it for extended periods without problems. As soon as I build a Release version, it always crashes after 5 or 6 runs. The DLL was also using an API that my company provides. So I have tried to narrow down the problem into a simple program that was copied (initially) from the StreamTransform sample. Now, when I run this with the following XML and XSL: char * xml_str = "<?xml version=\"1.0\"?>\ <doc>Hello</doc>"; char * xsl_str = "<?xml version=\"1.0\"?>\ <xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">\ <xsl:template match=\"doc\">\ <out><xsl:value-of select=\".\"/></out>\ </xsl:template>\ </xsl:stylesheet>"; ...
