1 |
|
|
2 |
#include "TrainInfo.h" |
#include "TrainInfo.h" |
3 |
|
|
4 |
#include "string_nocase.h" |
//#include "string_nocase.h" |
5 |
#include "Util.h" |
//#include "Util.h" |
6 |
#include "Exceptions.h" |
//#include "Exceptions.h" |
7 |
#include "Logger.h" |
#include "Logger.h" |
8 |
|
|
9 |
#include "HttpClient.h" |
#include "HttpClient.h" |
106 |
XML_SetCharacterDataHandler(parser, charData); |
XML_SetCharacterDataHandler(parser, charData); |
107 |
|
|
108 |
|
|
109 |
int done; |
int isFinal = 1; //this |
110 |
XML_Parse(parser, trainXml.c_str(), trainXml.size(), done); |
XML_Parse(parser, trainXml.c_str(), trainXml.size(), isFinal); |
111 |
} |
} |
112 |
catch (exception &e) |
catch (exception &e) |
113 |
{ |
{ |