Note that there are some explanatory texts on larger screens.

plurals
  1. POsomething wrong in my program by using GData xmlsupport
    primarykey
    data
    text
    <p>I'm new here ,i don't know how to use this...here is my code :</p> <pre><code>NSString *strParse=@"url"; NSURL *urlParse=[NSURL URLWithString:strParse]; NSString *content=[[NSString alloc] initWithContentsOfURL:urlParse]; NSError *error; GDataXMLDocument *document=[[GDataXMLDocument alloc] initWithXMLString:content options:0 error:&amp;error]; </code></pre> <p>----------------------xml-----</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;root&gt; &lt;head&gt; &lt;version&gt;20100514103110&lt;/version&gt; &lt;/head&gt; &lt;channels&gt; &lt;channel&gt; &lt;id&gt;1&lt;/id&gt; &lt;name&gt; &lt;![CDATA[]]&gt; &lt;/name&gt; &lt;uuid&gt; &lt;![CDATA[21001]]&gt; &lt;/uuid&gt; &lt;site_url&gt; &lt;![CDATA[http://]]&gt; &lt;/site_url&gt; &lt;pics&gt; &lt;url&gt; &lt;![CDATA[/21001/cms_images/channel/2010-01/21/channel_51224251664216081527429.png]]&gt; &lt;/url&gt; &lt;url&gt; &lt;![CDATA[/21001/cms_images/channel/2010-01/21/channel_82864703356323359638124.png]]&gt; &lt;/url&gt; &lt;url&gt; &lt;![CDATA[/21001/cms_images/channel/2008-07/04/channel_67535050807177704592393.swf]]&gt; &lt;/url&gt; &lt;url&gt; &lt;![CDATA[]]&gt; &lt;/url&gt; &lt;url&gt; &lt;![CDATA[]]&gt; &lt;/url&gt; &lt;/pics&gt; &lt;linkurls&gt; &lt;url&gt; &lt;![CDATA[]]&gt; &lt;/url&gt; &lt;url&gt; &lt;![CDATA[]]&gt; &lt;/url&gt; &lt;url&gt; &lt;![CDATA[]]&gt; &lt;/url&gt; &lt;/linkurls&gt; &lt;description&gt; &lt;![CDATA[]]&gt; &lt;/description&gt; &lt;provider&gt; &lt;![CDATA[]]&gt; &lt;/provider&gt; &lt;attr&gt;3&lt;/attr&gt; &lt;props&gt; &lt;prop1&gt; &lt;![CDATA[21001/movie_shell.swf]]&gt; &lt;/prop1&gt; &lt;prop2&gt; &lt;![CDATA[]]&gt; &lt;/prop2&gt; &lt;prop3&gt; &lt;![CDATA[]]&gt; &lt;/prop3&gt; &lt;prop4&gt; &lt;![CDATA[]]&gt; &lt;/prop4&gt; &lt;prop5&gt; &lt;![CDATA[]]&gt; &lt;/prop5&gt; &lt;/props&gt; &lt;/channel&gt; &lt;/channels&gt; &lt;/root&gt; </code></pre> <p>----------error below---------------</p> <pre><code> Ld build/Debug-iphonesimulator/newParser.app/newParser normal i386 cd /Users/apple/Desktop/newParser setenv MACOSX_DEPLOYMENT_TARGET 10.5 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk -L/Users/apple/Desktop/newParser/build/Debug-iphonesimulator -F/Users/apple/Desktop/newParser/build/Debug-iphonesimulator -filelist /Users/apple/Desktop/newParser/build/newParser.build/Debug-iphonesimulator/newParser.build/Objects-normal/i386/newParser.LinkFileList -mmacosx-version-min=10.5 -lxml2 -framework Foundation -framework UIKit -framework CoreGraphics -o /Users/apple/Desktop/newParser/build/Debug-iphonesimulator/newParser.app/newParser Undefined symbols: "_kGDataXMLXPathDefaultNamespacePrefix", referenced from: _kGDataXMLXPathDefaultNamespacePrefix$non_lazy_ptr in GDataXMLNode.o (maybe you meant: _kGDataXMLXPathDefaultNamespacePrefix$non_lazy_ptr) ld: symbol(s) not found collect2: ld returned 1 exit status </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload