Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

Re: send xml unescaped message, makes me "unavailable", Why?

$
0
0

It's the server who is disconnecting you, not the client XMPP library, therefore this question is not really suited for the Smack forum.

 

And any sane XMPP server implementation will always terminate a XMPP connection that sends invalid, malformed stanzas for security reasons. I wonder why you don't consider doing the right thing, escaping the data? Smack has a convenient method for this: StringUtils.escapeForXML()


Viewing all articles
Browse latest Browse all 12162

Trending Articles