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>";
...