Openfire strips value of xmlns for great-grandchild elements of Iq elements

I am sending xml like this through openfire:

[XML] SentXml - Pastebin.com

On the receiving side, I get this, from openfire:

[XML] ReceivedXml - Pastebin.com

Notice that, on the message elements inside the Messages element, openfire has stripped the xmlns value. This results in the xml parser on the receiving side not considering those to be jabber:client:message elements, and instead unqualified message elements (thus not equivalent).

Is this a bug? Why is openfire doing this?

Edit: changed title to be more accurate

I should note, this is openfire 3.9.3