[Standards-JIG] JEP-0060: Notifications on item deletion

Peter Saint-Andre stpeter at jabber.org
Fri Jul 7 17:12:46 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Saint-Andre wrote:
> Magnus Henoch wrote:
>>> Section 7.2 of JEP-0060 says that subscribers are to be notified about
>>> the deleted item if the 'notify' attribute of the <retract/> element
>>> is "true" or "1".  However, the standardized form for
>>> pubsub#node_config includes the option pubsub#notify_retract with the
>>> same meaning.  Which of these takes precedence?  Should the
>>> configuration be consulted when there is no attribute to tell how to
>>> do?
> 
> Thus I think the decision process is:
> 
> 1. Check for the 'notify' attribute.
> 
> 1a. If it exists and has a value of "true" or "1", send the notification.
> 
> 1b. If it does not exist or it has a value of "false" or "0", don't send
> the notification but move to step 2.
> 
> 2. Check for the 'notify_retract' field.
> 
> 2a. If it exists and has a value of "true" or "1", send the notification.
> 
> 2b. If it does not exist or it has a value of "false" or "0", don't send
> the notification.

Er, I meant it should be that. Alternatively, an implementation could
give the per-item 'notify' flag priority -- if true send, if false don't
send, if not present then check notify_retract; if the latter is true
send, if false or not present then don't send.

Peter

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErpYNNF1RSzyt3NURApgEAJ4wxjjfAhA5pdtCazuUQxSCxu+MswCdGobQ
KVtFRh/PzunfioFgk+Rx0sE=
=I/je
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060707/10df78ec/attachment.bin>


More information about the Standards mailing list