Sergei Golovan wrote:
> On 3/9/08, Peter Saint-Andre <[EMAIL PROTECTED]> 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/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to