mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Merge branch 'feature/xep-0060'
This commit is contained in:
commit
1284e5e12c
@ -49,6 +49,12 @@
|
||||
&pgmillard;
|
||||
&stpeter;
|
||||
&ralphm;
|
||||
<revision>
|
||||
<version>1.18.0</version>
|
||||
<date>2020-02-27</date>
|
||||
<initials>jsc</initials>
|
||||
<remark><p>Properly specifiy that an empty <item/> is invalid on publish.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>1.17.0</version>
|
||||
<date>2019-10-06</date>
|
||||
@ -2975,7 +2981,7 @@ And by opposing end them?
|
||||
]]></example>
|
||||
</section4>
|
||||
<section4 topic='Bad Payload' anchor='publisher-publish-error-badpayload'>
|
||||
<p>If the &ITEM; element contains more than one payload element or the namespace of the root payload element does not match the configured namespace for the node, the service MUST bounce the request with a &badrequest; error, which SHOULD also include a pubsub-specific error condition of <invalid-payload/>.</p>
|
||||
<p>If the &ITEM; element does not contain exactly one payload element or the namespace of the root payload element does not match the configured namespace for the node, the service MUST bounce the request with a &badrequest; error, which SHOULD also include a pubsub-specific error condition of <invalid-payload/>.</p>
|
||||
<example caption='Entity attempts to publish item with multiple payload elements or namespace does not match'><![CDATA[
|
||||
<iq type='error'
|
||||
from='pubsub.shakespeare.lit'
|
||||
|
Loading…
Reference in New Issue
Block a user