> 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 logged it.

> Also, is it a conscious decision to use SAX here? I think SAX is a pain for
> most ordinary cases, and when you have such a small document DOM might be ok
> for you. It probably wouldn't here as the DOM parser uses SAX to build the
> tree.

Yes, I've always thought SAX is somehow quicker. I guess I will just
switch to DOM for that WS. Thanks anyway!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to