[Standards-JIG] JEP-0060: Notifications on item deletion
stpeter at jabber.org
Fri Jul 7 17:12:46 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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.
Jabber Software Foundation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards