[jdev] Authentication Process For Jabber.com

Peter Saint-Andre stpeter at stpeter.im
Sun Mar 9 13:22:06 CDT 2008

Sergei Golovan wrote:
> On 2/29/08, Norman Rasmussen <norman at rasmussen.co.za> wrote:
>> The point is that:
>> <stream:stream
>> xmlns:stream='http://etherx.jabber.org/streams'>
>> <message><gajim:die/></message>
>> </stream>
>> contains an unbound prefix 'gajim', so MUST be rejected by all XMPP
>> parsers..  If you want to send xml that looks similar to that, you need to
>> transmit one of the following:
> Just find any rule in RFC 3290 which forbids this stanza with unbound
> prefix and I'll immediately file a bugreport to ejabberd.

This was unclear in RFC 3920 but is clarified in rfc3920bis, which
contains the following text:


An implementation SHOULD NOT generate namespace prefixes for elements
qualified by content (as opposed to stream) namespaces other than the
default namespace.  However, if included, the namespace declarations for
those prefixes MUST be included on the stanza root or a child thereof,
not at the level of the stream element (this helps to ensure that any
such namespace declaration is routed and delivered with the stanza,
instead of assumed from the stream).


Therefore, this is wrong:


And this is wrong:


But this is OK:



Peter Saint-Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080309/db3ed930/attachment-0002.bin>

More information about the JDev mailing list