23 #include <libxml/parser.h>
41 DEBTRACE(
" XmlNeutral::put(const void *data)");
42 put((
const char *)data);
52 DEBTRACE(
"XmlNeutral::put " << data);
57 doc = xmlParseMemory(data, strlen(data));
61 msg <<
"Problem in conversion: XML Document not parsed successfully ";
62 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
65 cur = xmlDocGetRootElement(
doc);
70 msg <<
"Problem in conversion: empty XML Document";
71 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
76 if ((!xmlStrcmp(cur->name, (
const xmlChar *)
"value")))
87 msg <<
"Problem in conversion: incorrect XML value";
88 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
: Interface for management of storage of data formated dynamically in its TypeCode....
TypeCode * edGetType() const
Base class for all ports.
Base class for Proxy Input Ports.
virtual void put(const void *data)
YACS::ENGINE::Any * convertXmlNeutral(const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)