[jdev] Re: type='available' in <presence/> stanza
Peter Saint-Andre
stpeter at jabber.org
Wed Mar 29 07:55:20 CST 2006
On Wed, Mar 29, 2006 at 11:31:27AM +0200, Marco Balmer wrote:
> Hi,
>
> > Anyways, when a server that uses schema validation encounters such a
> > stanza, it will return an error to the client. And frankly, I don't
> > think being tolerant to implementation issues will lead to a better
> > future for the protocol.
>
> Not the client is sending to the server. The server send this stanza to the
> client with type='available'.
>
> * Should server (in this case ejabberd) send type='available' to the clients?
> (I am realy not sure what the protocol rfc 3921 means about that)
No, it should not.
> * Should client (In this case psi 0.10) ingore this?
Yes, it should. IIRC the spec says that if you receive a value of the
'type' and you don't understand it, treat it as <presence/> with no type
(at least we say that for messages, I'll check whether we say that for
presence).
Peter
More information about the JDev
mailing list