[jdev] How to response on clientside errors?

Peter Saint-Andre stpeter at jabber.org
Thu Aug 3 10:13:36 CDT 2006


tmarkmann at googlemail.com wrote:
> Hi,
> 
> I'm writing a component for JEP-0033 and want to know who i have to
> response on general errors.
> 
> From JEP-0033:
> 
>     An <address/> element MUST possess a 'type' attribute, and MUST
>     possess at least one of the 'jid', 'uri', 'node', and 'desc'
>     attributes. An <address/> element MUST NOT possess both a 'jid'
>     attribute and a 'uri' attribute. If sending through a multicast
>     service, an address MUST include a 'jid' or a 'uri' attribute,
>     unless it is of type 'noreply'.
> 
> 
> 
> What do i answer the client if isn't compliant to that statement, i.e. a
> client has no type attibute.

I think a <bad-format/> error is correct.

Peter

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060803/12a7dbb5/attachment-0002.bin>


More information about the JDev mailing list