[jdev] Authentication Process For Jabber.com

Peter Saint-Andre stpeter at stpeter.im
Sun Mar 9 19:49:00 CDT 2008


Sergei Golovan wrote:
> On 3/9/08, Peter Saint-Andre <stpeter at stpeter.im> wrote:
>>  Therefore, this is wrong:
>>
>>
>>  <stream:stream
>>         xmlns:stream='http://etherx.jabber.org/streams'>
>>   <message><gajim:die/></message>
>>  </stream>
> 
> It means that it's wrong to send this stanza. But it doesn't mean that
> it's wrong to accept this stanza.

Correct. The spec currently does not say that the server must enforce
that rule. But naturally the recipient (or the sender's or recipient's
server) could return a stanza error on receiving it. A <not-acceptable/>
error seems appropriate:

<message type='error'>
  <error type='modify>
    <not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
  </error>
  <gajim:die/>
</message>

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

-------------- 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/8ca3b292/attachment-0002.bin>


More information about the JDev mailing list