XPath on the iPhone

2 views
Skip to first unread message

Logan Allred

unread,
Feb 8, 2009, 4:21:17 PM2/8/09
to FSKit Discussions
Thanks to Lee Barney, the iPhoneSample is now using the CXML code
instead of the NSXML code. However, it crashes.

I've tracked it down to a bug in CXMLNode where it doesn't detect a
null value for an xpath it doesn't recognize. However, many other
xpath queries aren't working either.

Essentiall, CXML uses libxml2, which only supports XPath 1.0. NSXML
supports XPath 2.0, which included support for default namespaces,
which are used heavily by the FS API results.

I am currently looking for a solution, either moving all the xpath
queries to 1.0, or finding a way to use the special CXML calls to
handle namespaces with libxml2, but only on the iPhone.

Logan
Reply all
Reply to author
Forward
0 new messages