[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread mobilekid
> What happens when you add a println statement before the last line? Is this > reached? Is startDocument() called and how do you know that endDocument() is > not called? In the quoted code you're not doing anything. Yes, startDocument() gets called, endDocument() doesn't, I know that as I've log

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread Mariano Kamp
What happens when you add a println statement before the last line? Is this reached? Is startDocument() called and how do you know that endDocument() is not called? In the quoted code you're not doing anything. Also, is it a conscious decision to use SAX here? I think SAX is a pain for most ordinar

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread mobilekid
It isn't big at all, it's got about 25 elements, it's not not a very deep tree either. I've parsed way longer XML feeds in the past with the same implementation of SAX. I asked the server guy to remove the element where it got stuck, and then it managed to parse one more element down the tree, an

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread Mariano Kamp
I don't know. Did you try a smaller document?How big is it anyway? What does the log say? On Thu, Apr 23, 2009 at 12:28 PM, mobilekid wrote: > > Just to add to my message, endDocument() doesn't get called... Does > that mean that the document is too big too parse?! > > > --~--~-~--~~

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread mobilekid
Just to add to my message, endDocument() doesn't get called... Does that mean that the document is too big too parse?! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,