Ok... strange one...

Is there any constraints regarding linking the debug Xalan libraries to the
release Xerces libraries? I changed xerces to use the debug library,
matching xalan, and all was well.

Cheers,

Oli White



                                                                                       
                              
                    oliver.white@in                                                    
                              
                    vensys.com             To:     [EMAIL PROTECTED]         
                              
                                           cc:                                         
                              
                    11/20/02 09:14         Fax to:                                     
                              
                    AM                     Subject:     Re: Crash in Xerces 2.1.0      
                              
                    Please respond                                                     
                              
                    to xerces-c-dev                                                    
                              
                                                                                       
                              
                                                                                       
                              





Memory access violation.




                    Gareth Reakes

                    <gareth@decisio        To:
[EMAIL PROTECTED]
                    nsoft.com>             cc:

                                           Fax to:

                    11/19/02 07:38         Subject:     Re: Crash in Xerces
2.1.0
                    PM

                    Please respond

                    to xerces-c-dev







Hi,
           what is the error?

Gareth

On Tue, 19 Nov 2002 [EMAIL PROTECTED] wrote:

> Hi folks. I've got a strange error that keeps cropping up, using Xalan.
The
> code below crashes on the transform line, and the error seems to be deep
in
> the bowels of Xerces, according to the stack trace. I'm using xalan 1.4.0
> with xerces 2.1.0.
>
> If you have any ideas as to what might be causing the problem, let me
know.
>
> Cheers,
>
> Oli White
>
> ==============================================
>
> #include <XalanTransformer/XalanTransformer.hpp>
> #include <xercesc/util/PlatformUtils.hpp>
> #include <PlatformSupport/XSLException.hpp>
> #include <iostream>
>
> int main(int argc, char* argv[])
> {
>      XMLPlatformUtils::Initialize();
>      XalanTransformer::initialize();
>
>      XalanTransformer transformer;
>      transformer.setUseValidation(false);
>
>      int nResult = transformer.transform("D:\\saxon\\test_data.xml", "D:
> \\saxon\\validate.xsl", std::cout);
>
>      XalanTransformer::terminate();
>      XMLPlatformUtils::Terminate();
>
>      return 0;
> }
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Gareth Reakes, Head of Product Development
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



---------------------------------------------------------------------
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]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to