Kissxml memory allocation fails giving DDXMLErrorDomain error code 1

306 views
Skip to first unread message

Sohil

unread,
Dec 10, 2012, 8:10:27 AM12/10/12
to kis...@googlegroups.com
Hi , 

I have been using kissxml for some time. And was effortless to use it. Thank you.

Recently in one of the response we received data of 134542 bytes. 
While creating a DDXMLDocument object it fails at allocating memory. 

"xmlDocPtr doc = xmlParseMemory([data bytes], [data length]);" function returns null.

Is there a limit to the size of the data ? I checked the the response in Charles to see if
I m getting a correct XML . Charles shows the whole XML correctly. 

Please let me know if there is a way i can solve my problem 

Thanks,
SOhil
Reply all
Reply to author
Forward
0 new messages