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]

Reply via email to