1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

XEP-0060: remove exception for last item when purging a node

This commit is contained in:
Jérôme Poisson 2021-07-22 12:54:58 +02:00 committed by Jonas Schäfer
parent f71389ca4a
commit 2f70a2181e

View File

@ -49,6 +49,12 @@
&pgmillard; &pgmillard;
&stpeter; &stpeter;
&ralphm; &ralphm;
<revision>
<version>1.22.0</version>
<date>2021-09-07</date>
<initials>jp</initials>
<remark><p>Remove exception for last item when purging a node: all items must be removed.</p></remark>
</revision>
<revision> <revision>
<version>1.21.0</version> <version>1.21.0</version>
<date>2021-08-03</date> <date>2021-08-03</date>
@ -4099,7 +4105,7 @@ And by opposing end them?
</section3> </section3>
</section2> </section2>
<section2 topic='Purge All Node Items' anchor='owner-purge'> <section2 topic='Purge All Node Items' anchor='owner-purge'>
<p>If a service persists published items, a node owner may want to purge the node of all published items (thus removing all items from the persistent store, with the exception of the last published item, which MAY be cached). It is OPTIONAL for a service to implement this feature.</p> <p>If a service persists published items, a node owner may want to purge the node of all published items (thus removing all items from the persistent store). It is OPTIONAL for a service to implement this feature.</p>
<section3 topic='Request' anchor='owner-purge-request'> <section3 topic='Request' anchor='owner-purge-request'>
<p>In order to purge a node of all items, a node owner sends a node purge request consisting of a &lt;purge/&gt; element whose 'node' attribute specifies the NodeID of the node to be purged.</p> <p>In order to purge a node of all items, a node owner sends a node purge request consisting of a &lt;purge/&gt; element whose 'node' attribute specifies the NodeID of the node to be purged.</p>
<example caption='Owner purges all items from a node'><![CDATA[ <example caption='Owner purges all items from a node'><![CDATA[