codebots-ltd / TBXML

Super-fast, lightweight, easy to use XML parser for the Mac & iOS
http://www.71squared.com
579 stars 195 forks source link

TBXML parsing limited to XML files 'in app bundle'? #12

Open notarysojac opened 12 years ago

notarysojac commented 12 years ago

From what I can tell, this (very much improved in many ways) new version of TBXML assumes all XML files processed will be contained in the application bundle. That is absolutely a show-stopper for my requirements as I use XML files for all manner of communication between clients and server - most of which are never located "in the app bundle'.

I will implement my own work-around but it would be wonderful if this capability were incorporated into the official source code.

Thanks much!

einsteinx2 commented 11 years ago

I use the latest TBXML in multiple apps solely for parsing of network API replies. I've never used it to parse files in the app bundle. Maybe post some code that's not working for you?

crsantos commented 11 years ago

Doesn't need an example, try to download a file, store it on the app's Documents folder, and try to read it afterwards. I cannot understand why bothering to have so much work splitting paths and extensions to obtain a file from app's bundle, if a simple path could be work for all.

nrbrook commented 10 years ago

+1