I'm very confused by your description of the problem.
If you're using C+-+-, there's no need to use Xalan's C API, so I don't
understand why you're using it. In your program's main() function, before
you make any Xerces or Xalan calls, you should call
XMLPlatformUtils::Initialize() and XalanTransformer::initialize(). When
your program is about to exit, you should call XMLPlatformUtils::Terminate
() and XalanTransformer::terminate(), if you're interested in having memory
freed for the purposes of detecting memory leaks.
Please make sure you're linking with the proper run-time libraries. You
must use the Multithreaded DLL, or Debug Multithreaded DLL libraries.
Often, a debug build will crash when linked using the wrong run-time, even
though a release build will not.
The Xerces binaries that come with Xalan are directly from their
distribution. If they were corrupt, we certainly would have heard of it by
now and replaced the distribution.
Dave
"+Z5c- +W1CCrw-"
<[EMAIL PROTECTED] To:
[email protected]
mail.com> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: Re: problems in
initalising DOMParser object within xalan-c for dom
04/18/2002 03:33 input/output
AM
Hi... just adding more information regarding this question, actually xerces
is initialised however i find there is one thing that is interesting.... on
the release version everything works fine with no complaint whatsoever, but
in the debug version it complains abouts it (in fact i could not initialise
xerces properly without calling it through the xalanCAPI, whereas the
release version works fine with both methods of initialising from xalancAPI
and XMLPlatformUtils::Initialize();)
i might be totally wrong but i was wondering could it be problems with
xerces1.6.0D.dll that comes with xalan?
mank thanks
Regards
Kit
P.S. sorry this question may lies within the xerces-c mailing list but
since i am using the xerces parser from xalan i thought it is more
appropiate to sent it through the xalan mail list, i am sorry if this has
cause any inconvience
_________________________________________________________________
+T391KA- MSN Messenger+/wyCB2cLU8tXKH3aTgqASlkp/xo-http://messenger.msn.com.hk