The error sub-packet doesn’'t seem to be included when sending an IQ error packet with smack 1.1.1. Looking at the source for the IQ class, in the ‘‘toXML()’’ method it looks like the error packet is added AFTER the end element.
Thanks for the bug report. I’‘ve fixed this issue for the upcoming 1.2.0 release. The fix will also be in tomorrow’'s daily build. Daily builds are at:
No problem. I hope you’‘ll continue to post bug reports and feature requests. We’'re always interested in hearing about what people are doing with Smack as well.