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">
      <field var="with">
    <set xmlns="http://jabber.org/protocol/rsm">

Then server replied with an errornous XML reply shown below:

<body xmlns='http://jabber.org/protocol/httpbind' ack='3738480046'>
    <fin xmlns="jabber:client" xmlns="urn:xmpp:mam:0" queryid="40" complete="true">
      <set xmlns="http://jabber.org/protocol/rsm">

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