[Smack-Openfire] inconsistent XML

** **Hello!

I’m writing a client application using Smack.

My Openfire server sends this XML fragment (according to the debugger).

<presence from='XXXX to=‘YYYY’>

created

3

3

3

x

But my Smack application recives this fragment (according to Smack debugger)

<presence from='XXXX to=‘YYYY’>

3

3

created

x

I’ve got the same issue with this fragment.

Openfire sends:

Smack app receives:

Is there anyone who has had the same problem?

How can this discrepancy?

Does Smack process the packets in some way even before “writing” their content in the debugger console?

Thanks in advance for your support!

Davide