powered by Jive Software

Distorted xml in StanzaListener


I am implementing the client side code for ejabberd MucSub extension (Multi-User Chat Subscriptions | ejabberd Docs ).

When I send the IQ for subscriptions list, I am getting correct response IQ in debug logs but in StanzaListener the same response is delivered as broken xml.

Following is response IQ I am getting in debug log and in StanzaListener.

In debug logs:

In StanzaListener

<subscriptions xmlns=‘urn:xmpp:mucsub:0’<subscriptions xmlns=‘urn:xmpp:mucsub:0’><subscription jid=‘room4@conference.abc.domain.net’/><subscription jid=‘room8@conference.abc.domain.net’/></subscriptions>

Can anyone help me out with this? I am using smack 4.2.0.

Thanks in advance.

Most likely there is no provider (parser) for the elment or it is not complete.