26 #include <libxml/parser.h>
44 put((
const char *)data);
58 doc = xmlParseMemory(data, strlen(data));
62 msg <<
"Problem in conversion: XML Document not parsed successfully ";
63 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
66 cur = xmlDocGetRootElement(
doc);
71 msg <<
"Problem in conversion: empty XML Document";
72 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
77 if ((!xmlStrcmp(cur->name, (
const xmlChar *)
"value")))
90 msg <<
"Problem in conversion: kind= " <<
edGetType()->
kind() ;
91 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
102 msg <<
"Problem in conversion: incorrect XML value";
103 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
TypeCode * edGetType() const
Base class for all ports.
Base class for Proxy Input Ports.
virtual void put(const void *data)
XmlCorba(InputCorbaPort *p)
CORBA::Any * convertXmlCorba(const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)