[standards-jig] XMPP compatibility discovery

Jacek Konieczny jajcus at bnet.pl
Wed May 21 07:18:40 UTC 2003


JEP-0063 (Jabber IM Basic) requires compatibility with XMPP, Disco and
old Jabber error packets. It is easy for clients, that mainly receive
errors - they can be programmed to understand both types of error
messages - old code-based, and new class-based.

But things get more complicated for server application. They should send 
new error messages to XMPP compliant clients, but should not do that to
old Jabber clients (which will be still popular for some time). Of
course server could send something like this:

<iq type="error" from="server" to="client>
	<error class="..." code="...>
		Some description...
		<condition xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>
			<descriptive-element-name/>
		</condition>
	</error>
</iq>

Such hybrid would be understood by most XMPP and Jabber-0.9 clients, but
is big, ugly and probably not 100% XMPP compliant.

I think there should be "xmpp-1.0" feature var defined for disco, so
servers and services could determine if client understands XMPP errors.
It would make things much easier.

Greets,
	Jacek



More information about the Standards mailing list