Chister Nordvik wrote: > The issue has still "new" status so either Google is just ignoring it > or they think it's a bug in my code. > > I tried a little more and I experienced similar problems when fetching > XML that has encoded html inside the tags (typically RSS feeds). This > code works perfectly when running on the desktop but on android it > just refuses to give me the text after it encounters "<" in this > node: > <description>Test html chars: <b>v2.1</b> released.</ > description>
It splits the text into several child text nodes, not just one. Hence, don't just use getFirstChild() -- iterate over all children. Leastways, that worked for & when I encountered a similar phenomenon. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---