开发者

XML performance app problem

开发者 https://www.devze.com 2023-03-11 16:39 出处:网络
I am testing XML performance app. But instead of fetching iTunes xml I have created my a local xml file in the bundle. The content of the file is given below:

I am testing XML performance app. But instead of fetching iTunes xml I have created my a local xml file in the bundle. The content of the file is given below:

<Songs>
    <channel>
        <item>
            <title>
            title
            </title>
            <category>
            category
            </category>
            <itms:artist>
           开发者_StackOverflow中文版 artist
            </itms:artist>
            <itms:album>
            album
            </itms:album>
            <itms:releasedate>
            November 23, 1937
            </itms:releasedate>
        </item>
    </channel>
</Songs>

When I am parsing it with NSXMLParser release date is not showing, everything else is showing properly. But while I am parsing with Libxml2 parser app is crashing showing "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unhandled error encountered during SAX parse.'" this on console.

0

精彩评论

暂无评论...
验证码 换一张
取 消