Message Xml problem unrecognized characters
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:
- Add new comment
- 400 reads






Recent comments
4 days 12 hours ago
4 days 20 hours ago
2 weeks 3 hours ago
2 weeks 8 hours ago
2 weeks 8 hours ago
4 weeks 1 day ago
4 weeks 1 day ago
5 weeks 3 days ago
9 weeks 1 day ago
9 weeks 1 day ago