On 04/23/2009 01:25 AM, Charlie wrote:
> - I have no idea how this makes sense, why would this work and the
> same response I get from a server
> won't? maybe it's about spaces or empty lines?
>
> @Jeff: when I tried to remove the</br>  tags it did work , no idea why
> though.
>    

It has something to do with XHTML vs. HTML.

I think your browser expects the tags in <br> (HTML) format. Your source 
is creating them in XHTML format (e.g. every tag must have a closing 
tag. For tags like <br> w/o a closing tag, the closing tag must be added 
via the /> construct).

Prove this by converting your example to HTML format (<br>) from XHTML 
format (<br/>)

You might need a pre-XML parse regexp to either remove the tags or 
transform them to <br>.

> Thanks for the responses.
>    

You're welcome.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to