<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all. I am writing a client-server system that intends to be XMPP-compliant. My initial development work on the client establishes a connection with an eJabberd server. After establishing a session, my client issues an "empty" presence stanza (no "to" or "type" attribute, in accord with the XMPP-CORE spec: section 5.1 Initial Presence).<div><br></div><div>One of the presence responses I receive is "from" and "to" my own client instance (resource). This surprises me. The spec says:</div><div><br></div><div>"<span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; ">In addition, the user's server MUST broadcast initial presence from the user's new available resource to any of the user's existing available resources (if any)."</span></div><div><font class="Apple-style-span" face="Verdana" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div>However, my own instance (resource) was not an existing resource. But I guess this is all a matter of timing.</div><div><br></div><div>Although the issuance of such presence to the resource from the client isn't prohibited by the spec, I'm just curious how to mentally categorize it in the context of XMPP: that is, is the receipt of such a presence stanza an idiosyncrasy of the particular server implementation?</div><div><br></div><div>Thanks in advance from an XMPP newbie.</div><div><br></div><div><font class="Apple-style-span" face="Verdana" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><div><br></div></span></span></font></div></body></html>