【问题标题】:iphone : error parsing XML: Unable to read response xml (Error code 5 )iphone:解析 XML 时出错:无法读取响应 xml(错误代码 5)
【发布时间】:2011-10-17 08:35:51
【问题描述】:

我正在使用 XMLParsing 在 iphone 应用程序中使用我的网络服务。

我收到error parsing XML: Unable to read response xml (Error code 5 )

怎么了?

【问题讨论】:

标签: iphone objective-c xml-parsing


【解决方案1】:
NSXMLParserPrematureDocumentEndError
The document ended unexpectedly.
Available in Mac OS X v10.3 and later.
Declared in NSXMLParser.h.

问题看起来像您的 xml 格式不正确。所以在这几行上调试一下就可以成功解析xml了。

【讨论】:

    【解决方案2】:
    猜你喜欢
    • 2015-08-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-29
    • 1970-01-01
    • 1970-01-01
    • 2015-07-01
    相关资源
    最近更新 更多