[Standards] XEP-0060 publish-options: questions
holger at zedat.fu-berlin.de
Mon Feb 5 17:10:56 UTC 2018
* Matthew Wild <mwild1 at gmail.com> [2018-02-03 07:18]:
> - It says if the criteria in the publish-options are not matched,
> the publish must fail. However it does not specify what the correct
> error for this is. I opted for "conflict".
This is actually specified:
| If the node exists and the precondition is not met, then the publish
| MUST fail with a <conflict/> error condition and a pubsub-specific
| condition of <precondition-not-met/>.
[ https://xmpp.org/extensions/xep-0060.html#publisher-publish-options ]
> - It's not necessarily clear on how complex options should be
> handled. For example, if there is a list-multi or jid-multi provided
> containing one or more entries, does it mean that those entries must
> be present in the node configuration, or that *only* those entries
> must be present in the configuration?
I'd fail on the safe side and specify that *only* those entries must be
More information about the Standards