[JDEV] JID naming

Jacek Konieczny jajcus at bnet.pl
Fri Jan 30 04:46:09 CST 2004


On Fri, Jan 30, 2004 at 11:49:56AM +0300, Alexey Nezhdanov wrote:
> Hello. Just looked through document
> http://www.jabber.org/ietf/draft-saintandre-xmpp-uri-00.html
> 
> This document specifies URI as xmpp:jid[/resource]

This seems wrong.

> So I have a question: is resource is a part of jid or not.

It is.

> What name the function that returns JID w resource must have?

e.g.: jid()

> And what name the function that returns JID w/o resource must have?

e.g.: bare_jid()

JID without a resource is usually called "bare jid".

Greets,
	Jacek



More information about the JDev mailing list