Earthquake DOM model obsolete?
The earthquake XML parser will not work with feeds that contain escaped characters such as &apos for apostrophe. A google search on this issue says that the DOM model used in the book is not recommended for this reason and because it loads the entire file into memory at once. The consensus is that XML pull parser is the better way to go. Has anyone reading this converted the code to pull parser? If the author looks in here, have you got some alternative code? I will be working on this as I get more experience, but would like to see something if it is already done.
|