While testing Smack SVN version with various servers I’‘ve found that Smack doesn’'t support mapping from legacy error codes as defined in http://www.xmpp.org/extensions/xep-0086.html. Fortunately latest version is nice enough to not throw NPE on such errors…
Anyway, I’‘ve prepared trivial patch to support legacy errors and I was ready to create RFE on JIRA. Then I’'ve found support for such errors in Wildfire Javadocs (http://www.jivesoftware.org/builds/wildfire/docs/latest/documentation/javadoc/or g/xmpp/packet/PacketError.Condition.html) - it is quite funny that we both choose same name for such mapping method (PacketError.Condition.fromLegacyCode(int code))… :]
So, are you thinking about moving support for legacy errors to Smack?