Hello all,
I’m very new - this afternoon - to xiff and haven’t been able to find much info on it online. I was able to find the svn repo as well as the beta zip. What I noticed in the svn trunk is that there are some weird anomolies… JID.as is a completely empty file, that kind of thing. I guess my main question is - what is the most recent stable version to work with?
Thank you,
Phil
Heh, looks like I forgot to svn rm JID.as. It’s gone now (it moved to AbstractJID and its two concrete subclasses). Trunk XIFF should be pretty solid right now.
Thanks David!!!
One last question. Where can I find some good docs, tutes or examples?
Oooh - and one more question… With the demise of the old JID - which of the 3 JID classes best replaces the old JID class?
AbstractJID is, as the name implies, not something you’re supposed to use. EscapedJID should be used “over the wire”. It converts disallowed characters like @ into escape sequences. So in general you’ll want to use UnescapedJID. You can convert back and forth between them using the .escaped and .unescaped getters.