24 #include <libxml/parser.h>
50 DEBTRACE(
" XmlCpp::put(const void *data)");
51 put((
const char *)data);
66 doc = xmlParseMemory(data, strlen(data));
70 msg <<
"Problem in conversion: XML Document not parsed successfully ";
71 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
74 cur = xmlDocGetRootElement(doc);
79 msg <<
"Problem in conversion: empty XML Document";
80 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
85 if ((!xmlStrcmp(cur->name, (
const xmlChar *)
"value")))
96 msg <<
"Problem in conversion: incorrect XML value";
97 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";