On line 329 of PacketParserUtils (parseContentDepth()) you have:
this should be:
Someone else had a similar issue somewhere else and you fixed it, I can't find this discussion anymore unfortunately, I have had this fix in my code for several months and I thought I should report it. I think the issue was that the parser unescaped the text so you have to re-escape it here. I had escaped the text before sending it and I had verified that it was received escaped by Smack. I don't remember all the details as this was several months ago. I believe this class has this issue in several places.