[Standards-JIG] Incorrect stanza error in rfc3920 example?
gaston at jivesoftware.com
Fri Sep 2 18:02:06 CDT 2005
While doing resource binding the new resource may not be processed by the
server since it may not be in accordance with Resourceprep. In the example a
bad-request stanza error is used but after reading the stanza errors section
(9.3) I think that a jid-malformed error would be more appropriate.
This is the example:
Resource identifier cannot be processed:
<iq type='error' id='bind_2'>
This is the jid-malformed definition:
<jid-malformed/> -- the sending entity has provided or communicated an XMPP
address (e.g., a value of the 'to' attribute) or aspect thereof (e.g., a
resource identifier) that does not adhere to the syntax defined in
Addressing SchemeAddressing Scheme; the associated error type SHOULD be
So which error condition should be returned?
More information about the Standards-JIG