[JDEV] MUC <error/>

Mats Bengtsson matben at privat.utfors.se
Fri May 23 05:40:22 CDT 2003

While adding MUC support to my client I noted that errors are
reported differently in the implementation (0.5.2) and in the JEP.

JEP Version 1.4, Example 52:

<iq type='error' from='darkcave at macbeth.shakespeare.lit'
to='wiccarocks at shakespeare.lit/laptop' id='kicktest'>
  <query xmlns='http://jabber.org/protocol/muc#admin'>
    <item nick='firstwitch' role='none'>
      <reason>Be gone!</reason>
  <error code='405'>Not Allowed</error>

While the MUC compoenent returns:

RECV: <iq type='error' id='1012' to='matben at localhost/coccinella' from='mats at conference.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item nick='stt' role='none'>
			<error code='403'>Forbidden Kick request against admin</error>

The <error/> elements are in different branches!
Any ideas?


More information about the JDev mailing list