[Standards-JIG] Extension for stanza-errors

Matthias Wimmer m at tthias.net
Fri Mar 12 21:20:08 UTC 2004


What do you think about adding the location were an error was generated
as an optional element to stanza-errors.

E.g. if you are sending a message to the transport of a remote server
you could get an <internal-server-error/> or <service-unavailable/> from
your server, it's s2s component, the remote server or the remote transport.

I would think about something like

    <iq xmlns='jabber:client' type='error' to='user at example.com'
	<error code='502' type='wait'>
	    <service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	    <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>
	        Internal Timeout
	    <generator xmlns='http://jabber.org/protocol/error-generator'>
		<contact>im:admin at jabber.org</contact>
		<contact>mailto:admin at jabber.org</contact>

Tot kijk

Fon: +49-(0)70 0770 07770       http://matthias.wimmer.name/
HAM: DB1MW                      xmpp:mawis at charente.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20040312/e01767bd/attachment.sig>

More information about the Standards mailing list