Hi
I started with my first xerces-c program. But after two lines code, i have
the first errormessage:
Segmentation fault!!
Xerces-c version 2.7 on Linux Suse 10.2
The hole code: :working:
#include "iostream"
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/dom/DOM.hpp>
using namespace std;
using namespace xercesc;
int main(int argc, char* argv[])
{
try{
XMLCh tempStr[100];
XMLString::transcode("LS", tempStr, 99);
cout << "end\n";
return 0;
}catch(...){
cout << "Error";
}
}
Compiled with:
g++ -Wall -I/usr/include/xercesc/ -I/usr/include/mysql/ -I. -lxerces-c
-lmysqlclient -o xerces xerces.cpp
Who can help me?
Thanks
a Xerces-c beginner :clap:
--
View this message in context:
http://www.nabble.com/Segmentation-fault-with-XMLString%3A%3Atranscode-tp20136694p20136694.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.