I'm tryin to parse XML DOM in my j2me application and thus I have to have the whole document loaded in the memory before the application starts the parsing task. It works as it should on the emulator and 80% of the time on the handset itself but when the GPRS connection is low quality, it throws exceptions cuz the document is corrupted or somehow incomplete.
My question is, is there any solution to this or do I have to use pull parsing instead? and is it even solved by using pull parsing?
I use the XMLDomParser which comes with j2mepolish and a normal DataInputStream based connection to fetch data.
Thanks for your time,