解析失败:
- DDXMLDocument * resultDoc = [[DDXMLDocument alloc] initWithData: responseObject options: 0 error: &error];
解决方法: kissxml:The operation couldn't be completed. (DDXMLErrorDomain error 1.) 这是使用 kissxml 出现的问题。 根据网络资料只需要把 kissxml 里边的 DDXMLDocument 类里面的代码(第 95 行) xmlDocPtr doc = xmlParseMemory([data bytes], [data length]); 换成 xmlDocPtr doc = xmlRecoverMemory([data bytes], [data length]); 就可以了。
来源: http://www.jianshu.com/p/f4717e116e01