On Thu, Apr 16, 2009 at 12:04 AM, Soren Johnson <soren.john...@gmail.com> wrote:
>
> I can't seem to get XMLParser.parse() to work, even with what looks
> like valid XML. Do I need to remove all the '\n' and '\r' from the
> String? Is there another common gotcha? thanks...

Are you talking about embedded whitespace in the content?
<stuff>here
is
stuff
</stuff>

or
<stuff>here is stuff</stuff>

or
<stuff>
<some>
stuff
</some>
</stuff>

Or some other issue?

Whitespace is significant in certain contexts. There is a API call
that can remove the whitespace of the last example. The whitespace of
the fist example is significant. You'll have to remove it yourself if
that's what you want.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to