[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-users
Subject: Re: ActiveMQ "message" defined?? from the docs/web links
From: habumaster <phil.dindak () ericsson ! com>
Date: 2011-01-28 22:34:41
Message-ID: 1296254081007-3245580.post () n4 ! nabble ! com
[Download RAW message or body]
Alex Dean-2 wrote:
>
>
> On Jan 27, 2011, at 10:25 AM, habumaster wrote:
>
> >
> That sounds like a bug. Can you reproduce it reliably? What does the
> original message look like, how do you send it to the broker
> (stomp,ajax,other?), and what does the browser see when the messages are
> received?
>
> alex
>
>
We found the problem. We have embedded HTML in the XML that is returned to
parse.
using a ruby script with Stomp to insert the message
Good:
data = "Element.insert(\"chat_message_list_71\", { bottom: \"Dave\"})"
Bad:
data = "Element.insert(\"chat_message_list_71\", { bottom:
\"<li>Dave<\li>\"})"
Note the <li><\li>
I figured it out :)
data = "<![CDATA[Element.insert(\"chat_message_list_70\", { bottom:
\"<li>Dave<\li>\"})]]>"
Good ole CDATA.........
<![CDATA[ "your escaped content"]]>
Phil
--
View this message in context: \
http://activemq.2283324.n4.nabble.com/ActiveMQ-message-defined-from-the-docs-web-links-tp3242535p3245580.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic