Subject: XmppClient - OnXmlError
How can I catch a message that contains an Xml error (Matrix.Xml.Xpnet.InvalidTokenException thrown) and which triggers the OnXmlError event without closing the connection?
Alex
Alex
Quote by alexypa:The agsXMPP client will send an invalid message stanza.
When the server received invalid Xml it must close the stream and return an error to the client. Some servers don't parse all Xml to get a higher throughput on packets and performance. I don't know if this applied to openfire. Can you post the invalid Xml you sent and ow you built it?Quote by alexypa:The server (Openfire) will pass such stanza to the roster
This is correct, but the server should have done this before with client 1 and don't route the packet.Quote by alexypa:The receiving client will raise the OnXmlError, followed by the OnClose events and shut down.