[Standards-JIG] Extension for stanza-errors

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


Hi!

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'
    from='users.jabber.org'>
	<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
	    </text>
	    <generator xmlns='http://jabber.org/protocol/error-generator'>
		<location>jabber.org</location>
		<contact>im:admin at jabber.org</contact>
		<contact>mailto:admin at jabber.org</contact>
	    </generator>
	</error>
    </iq>



Tot kijk
    Matthias

-- 
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