18 char* charSyst = XMLString::transcode(toCatch.getSystemId());
19 std::string systemId(charSyst);
21 XMLString::release(&charSyst);
22 char* charMsg = XMLString::transcode(toCatch.getMessage());
23 std::string msg(charMsg);
24 XMLString::release(&charMsg);
33 std::string errMsg(
"Error at file \"");
34 errMsg += systemId +
"\", line " + line +
",column " + col;
35 errMsg +=
"\n Message: " + msg;
39 std::cerr << errMsg <<
"\n\n";
47 char* charMsg = XMLString::transcode(toCatch.getMessage());
48 std::string msg(charMsg);
49 XMLString::release(&charMsg);
53 if (!(toCatch.getSystemId()) ) {
54 std::string errMsg(
"Fatal XML parse error: no such file \n Message: ");
59 std::cerr << errMsg <<
"\n\n";
63 char* charSyst = XMLString::transcode(toCatch.getSystemId());
64 std::string systemId(charSyst);
65 XMLString::release(&charSyst);
71 std::string errMsg(
"Fatal error at file \"");
72 errMsg += systemId +
"\", line " + line +
",column " + col;
73 errMsg +=
"\n Message: " + msg;
78 std::cerr << errMsg <<
"\n\n";