阅读背景:

对于DOM解析器,什么大小的xml文件应该被认为太大?

来源:互联网 

I have been developing a fairly simple app for iOS and Android that parses local xml in order to form lists of items and show information about them. When looking into my parsing options, I settled on the native SAX parser for android, as well as the NSXMLparser class that is built in to objective-C. When looking at my options, I repeatedly saw people saying that DOM parsers are not suitable for large xml files. However, no one ever defined exactly what "large" meant. In a later version of the app, I am thinking about switching to a DOM parser.I have been developing a fairly simple app for




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: