Hi,
I noticed in XMPPJid that jids with resources containing '/' or '@' are not being processed properly.
eg
jid@domain/resource/resource
jid@domain/resource@resource
Per
http://xmpp.org/extensions/xep-0029.html, these are both valid characters in the resource.
Calling new XMPPJid() on these will return objects without the resource property.
It is simple enough to fix, so I am attaching a patch.
Caleb TR