This Question is Answered

1 "helpful" answer available (5 pts)
5 Replies Last post: Jul 25, 2008 4:13 PM by Philip Double  
Philip Double Bronze 14 posts since
Jul 23, 2008
Currently Being Moderated

Jul 23, 2008 2:32 PM

Which version is it safe to use?

 

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

 

 

David Smith KeyContributor 187 posts since
Jan 11, 2007
Currently Being Moderated
Jul 24, 2008 3:44 PM in response to: Philip Double
Re: Which version is it safe to use?

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.

David Smith KeyContributor 187 posts since
Jan 11, 2007
Currently Being Moderated
Jul 25, 2008 3:20 PM in response to: Philip Double
Re: Which version is it safe to use?

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.

More Like This

  • Retrieving data ...