AnsweredAssumed Answered

Bug in PacketParserUtils

Question asked by Gabriel on Feb 20, 2015
Latest reply on Feb 23, 2015 by Gabriel



On line 329 of PacketParserUtils (parseContentDepth()) you have:


else if (event == XmlPullParser.TEXT) {



this should be:


else if (event == XmlPullParser.TEXT) {




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.