[jdev] Re: Recent Google Talk S2S Problems

Ralph Meijer jabber.org at ralphm.ik.nu
Thu Mar 9 07:02:46 CST 2006


On Thu, Mar 09, 2006 at 07:29:51AM +0100, Remko Troncon wrote:
> >    My friend who is using trillian says that the trillian log is
> >    complaining that <cli:message ...> isn't a valid top level stanza and
> >    drops it. Looks like a namespace issue of some sorts? Pandion doesn't
> >    seem to work too well either...
> 
> As far as i know, namespaced XML elements like the one google sends are
> allowed. I never seen a client send them, but Google does, and most 
> off the shelf XML parsers used in clients seem to be able to handle it.

The point is that using prefixes for elements in the jabber:client
namespace is specifically not allowed. This is clearly defined in
section 11.2.2 of RFC 3920 (XMPP Core).

If Google's implementation sends <cli:message/> where cli is a prefix
for the jabber:client namespace, this is simply not compliant. Other
implementations cannot be blamed for rejecting it.

-- 
Groetjes,

ralphm



More information about the JDev mailing list