On Fri, Aug 6, 2010 at 4:50 PM, Nicholas P Cipriano <[email protected]> wrote: > When the client receives the error list from the service, it should display > each error to the user is a human-readable format or notify the user in some > helpful way. For example, I imagine that multiple dialog boxes would cause a > mess if there are many errors. Let us know if this answers your question.
Not sure :-) Vysper is a server, so we should attempt to do the best thing for the different clients of course. Let's take the example from the spec: <iq from='[email protected]/globe' id='voice4' to='[email protected]' type='set'> <query xmlns='http://jabber.org/protocol/muc#admin'> <item nick='Hecate' role='visitor'/> <item nick='rosencrantz' role='participant'> <reason>A worthy fellow.</reason> </item> <item nick='guildenstern' role='participant'> <reason>A worthy fellow.</reason> </item> </query> </iq> Let's say the change for "Hecate" succeeds, the change for "rosencrantz" causes a "not-allowed" error and the change for "guildenstern" causes a "conflict" (for the sake of this example, this error might not be reasonable in this particular case). What stanza/stanzas should the server return? /niklas
