[Standards-JIG] XEP0191 - Blocking - Symmetry

Peter Saint-Andre stpeter at jabber.org
Mon Oct 16 19:59:42 UTC 2006


Chris Mullins wrote:
> If this unblocks everything (and it does):
> <iq type='set' id='unblock2'>
>   <unblock xmlns='http://jabber.org/protocol/blocking'/>
> </iq>
> 
> Then I would naturally assume the xml below would block everything. Can
> we specify have this give back an error, rather than "<result/>"? 
> 
> <iq type='set' id='block1'>
>   <block xmlns='http://jabber.org/protocol/blocking'/>
> </iq>

I've modified the schema to require an <item/> child. I've also modified
the text to specify that if the <block/> element does not contain at
least one <item/> child, the server must return a <bad-format/> error.

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/standards/attachments/20061016/c6641987/attachment.bin>


More information about the Standards mailing list