Thomas, Thanks a lot for your help.
On Jun 26, 5:09 pm, Thomas Broyer <t.bro...@gmail.com> wrote: > On 26 juin, 16:16, G <gaur...@gmail.com> wrote: > > > n is a text node, I reverified by getNodeType() which returns 3 > > representing it's a TEXT_NODE. > > I have no clue as to why it's still returning null. > > Re. your previous sample code, note that Text::toString() uses getData > (), so if you know you're facing a Text (which you should if you want > getNodeValue() to have any meaning), maybe you should use getData() > instead. > > http://code.google.com/p/google-web-toolkit/source/browse/releases/1.... > > Note that (AFAICT from reading the GWT code) getNodeValue() returns > nodeValue straight from JS for all browsers; so maybe the browser > you're using has a bug and returns 'null' instead the text value. If > it is the case, then you should file a bug to the browser vendor (and > to GWT so a workaround can be found in the mean time). > > Not being parsing XML on the browser (I believe JSON or some specific > text format are far better suited), I can't help you more. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---