Search code examples
iphonexmlxml-parsingfilesizemax

Maximum Xml File Size Handled by SAX Parser in iOS


I need to handle more than 70mb of xml file in iPad. What is the maximum file size is possible to handle in iPhone or iPad.

How to handle these kind of big files in iPhone? Is there any open source parser for parse the xml files in iPhone


Solution

  • SAX is a stream/event based framework where you code handlers to process an event whenever a tag, comment, text, etc is encountered in the input stream. If you are not building a tree of some kind but only extracting what you need, then the limit depends on what you keep. There is no other limit other than CPU time to process and ignore data you don't need.