in openfire version 3.10.2 I sent the following IQ stanza to the server
<iq type="set" id="41:sendIQ" from="web_test1@abccom/converse.js-108560777">
<query xmlns="urn:xmpp:mam:0" queryid="40">
<x xmlns="jabber:x:data" type="submit">
<field var="FORM_TYPE" type="hidden">
<value>urn:xmpp:mam:0</value>
</field>
<field var="with">
<value>harinihtm@abc.com</value>
</field>
</x>
<set xmlns="http://jabber.org/protocol/rsm">
<max>25</max>
<before/>
</set>
</query>
</iq>
Then server replied with an errornous XML reply shown below:
<body xmlns='http://jabber.org/protocol/httpbind' ack='3738480046'>
<message>
<fin xmlns="jabber:client" xmlns="urn:xmpp:mam:0" queryid="40" complete="true">
<set xmlns="http://jabber.org/protocol/rsm">
<count>0</count>
</set>
</fin>
</message>
</body>
I found that this occurs at constructor of Deliverable class (inside HTTPSession)