[xml] xmlParseMemory problem

Hi Guys,

I am trying to parse following string using  xmlParseMemory(msg,strlen(msg)):

cont char * msg;

where msg is

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:iana:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iana:xml:ns:epp-1.0 epp-1.0.xsd">
  <result code="1000">
   <msg lang="en-US">Command Completed successfully</msg>

I am getting following erros when i debug code:

              __cfree()  malloc.c, 3054
              xmlFreeInputStream()  parserInternals.c, 1916
              xmlFreeParserCtxt()  parserInternals.c, 2303
              xmlSAXParseMemory()  parser.c, 9987
              xmlParseMemory()  parser.c, 10003

Please help me , I am going nuts and not able to find help from anywhere.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]