XML Violation BUG

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)

Thanks for reporting. I think it has been fixed, although I am not sure, if it’s the same issue as yours:

OF-938: Apply packet namespace via string insert · igniterealtime/Openfire@6965c13 · GitHub

Maybe you could try with OF 3.10.3.

Sorry, problem didn’t appear in 3.10.2. It appear in 3.10.3

It took me a while to figure out what the problem was. I applied some formatting to your example. The problem relates to the incorrect definition of xmlns attributes.

@CSH Am I reading Github wrong, or is that issue fixed in 4.0.0.beta (but not in 3.10.3)?

I just checked 3.10 branch: It got merged and I am pretty sure it’s in 3.10.3

I checked again and problem occurs with

Openfire version 3.10.3 and

Monitoing Plugin version 1.4.7