zzycami / touchcode

Automatically exported from code.google.com/p/touchcode
0 stars 0 forks source link

TouchXML nodesForXPath bug? #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Just trying out the touchXML API.

NSString *feed = @"http://api.flickr.com/services/feeds/photos_public.gne";
NSURL *url = [NSURL URLWithString: feed];

CXMLDocument *rssParser = [[[CXMLDocument alloc] initWithContentsOfURL:url
options:0 error:&error] autorelease];

NSArray *resultNodes = NULL;

resultNodes = [rssParser nodesForXPath:@"//entry" error:nil];

NSLog(@"%d", [resultNodes count]);

Even though it is a valid XPath (//entry), the array count always return as
0. Is there something I am issing ?

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by ronniel...@gmail.com on 22 Oct 2008 at 10:06

GoogleCodeExporter commented 8 years ago
See bug #4 http://code.google.com/p/touchcode/issues/detail?id=4

NOT a bug.

Original comment by jwight on 23 Oct 2008 at 3:52