On 9/5/11 10:33 AM, Goffi wrote: > G'day, > > In XEP-0095 ( http://xmpp.org/extensions/xep-0095.html ) it seems that there > is an inconsistency between "example 7. Profile not understood" (§ 3.2) > where > the error code is 400 and the type is "cancel" and "table 2: Error > Conditions/Codes" (§ 4.2) where the error code is 400 and type is "modify" > (instead of cancel in the example).
In RFC 3920 / XEP-0086, <bad-request/> is typically defined as an error of type "modify", not "cancel". I can't recall why we defined things that way in XEP-0095, but I'd recommend treating them both as "modify". /psa
