Message Xml problem unrecognized characters

Submitted by Anonymous on Wed, 2008-05-14 12:59.

Hello

I have just started playing with tigase and sucessfuly set up my first server and got clients chatting together, somewhat straight forward thank you.
However i have came accross small bugg while sending a picture over the chat
The xml seems to have unrecognized characters that break it. Note that this did not happen with normal text messages.

my xml message is

<body rid='294581' sid='0d390a87-7b9f-4b0a-ae9a-e14bee33349a' xmlns='http://jabber.org/protocol/httpbind' key='6247c74411617e161a9cb8f4fd9b38b253adeddc' ><message xmlns="jabber:client" id="my_client_1210767791953_64" from="dev@my.com/my_client_1210767791953" to="matoeilaaa@me.com/my_client_1210767780000" type="chat"><body>
a message </body><active xmlns="http://jabber.org/protocol/chatstates"/><myobject xmlns="http://my.com/protocol/my-object"><object type="image" src="http://www.google.fr/intl/fr_fr/images/logo.gif" docsrc="http://www.google.fr/"/> </myobject></message></body>

on the recieving end i get

<body ack="490071" secure="true" xmpp:version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="http://jabber.org/protocol/httpbind" xmlns:xmpp="urn:xmpp:xbosh" from="my.com"><message to="matoeilaaa@my.com/my_client_1210767834239" id="my_client_1210767791953_58" xmlns="jabber:client" type="chat" from="dev@my.com/yoono_client_1210767791953"><body>a message</body><active xmlns="http://jabber.org/protocol/chatstates"/><myobject xmlns="http://my.com/protocol/my-object"><object type="image" docsrc="http://www.googleNULLNULL.fr/" src="http://www.google.fr/intl/fr_fr/images/logo.gif"/></yoonoobject></message></body

The body tag is not finished.

Trackback URL for this post:

http://www.tigase.org/pl/trackback/1397

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
c
r
y
b
Enter the code without spaces and pay attention to upper/lower case.