[jdev] How can I verify the JID validity?

Peter Saint-Andre stpeter at jabber.org
Wed Mar 16 11:58:01 CST 2005


On Wed, Mar 16, 2005 at 07:42:04PM +0300, George Hazan wrote:

> I wanna test that a certain JID is valid on a jabber server. How can I
> ensure that without trying to add him into the roster? Right now I couldn't
> find anything better than fetching a vcard - if an error occurs, then this
> JID is invalid.

What do you mean by "valid" and "invalid"? Do you mean that the JID is
already taken/registered?

/psa




More information about the JDev mailing list