I have developed one plugin which sends the event notification of subscribed node to subscriber as follows
<message from="pubsub.mydomain.in" id="aae6anotify" to="user2@rewire.in/sh">
<event xmlns="http://jabber.org/protocol/pubsub#event">
<subscription node="5555/loc" jid="user2@rewire.in/sh" subscription="subscribed"/>
</event>
</message>
but when this message is being recived to subsciber , it gets disconnected automatically every time , so i dont know what is wrong and how m gonna check things ?