[Standards-JIG] Error-Messages

Peter Saint-Andre stpeter at jabber.org
Tue May 30 15:20:55 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jos4711 at googlemail.com wrote:
> Hello,
>  
> I have a question about the <error/> element.
> For example I will try to send a <message/>-stanza to s.o. and the
> target is not available, then the server will generate
> <message type='error'><error><recipient-unavailable/></error></message>.
>  
> My question is how do I know to which target the error is related to?
> Is the address of the unavailable target inserted into the
> from-attribute or is this not possible
> because the error came from the server and so the address from the
> server will be inserted there?

The entity that generates the error stanza should swap the to and the
from addresses.

Peter

- --
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEfGLXNF1RSzyt3NURAmjoAJ478bkOfZtDAxyvBVbMWq1V46bQkgCeMNje
Fvnwjt7yTVp8Wo3QTUALF0c=
=esiZ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060530/1caba841/attachment.bin>


More information about the Standards mailing list