Sylvain Hellegouarch wrote: > Hi, > > Since this is my first message to the XMPP list, forgive me if this is > not the right one. > > I am currently implementing XMPP core and its extensions and I ran into > something I wanted to clarify: > > RFC 3920 says: > > <bad-request/> -- the sender has sent XML that is malformed or that > cannot be processed (e.g., an IQ stanza that includes an unrecognized > value of the 'type' attribute); the associated error type SHOULD be > "modify". > > The "modify" value is backed up by XEP 0086. However XEP 0095, section > 3.2 Example 7, reads: > > <error code='400' type='cancel'> > <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> > <bad-profile xmlns='http://jabber.org/protocol/si'/> > </error> > > Now the SHOULD level defined in RFC 3920 means that there should be a > good reason for XEP0095 not use "modify" in place of "cancel" but I fail > to see such valid reason. Could it just be a mistake? If so is "modify" > valid in that Example? > > Thanks, > - Sylvain
Hmm it seems that XEP0095 later specifies that the "cancel" type is to be used in that context. So fair enough, there is no error there. - Sylvain
