1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-25 10:42:19 -05:00

Remove comments from examples in MAM

This commit is contained in:
Kevin Smith 2015-01-23 10:34:50 +00:00
parent cf64b48a65
commit 8afa00d15b

View File

@ -158,18 +158,20 @@
<example caption='A user queries their archive for messages'><![CDATA[ <example caption='A user queries their archive for messages'><![CDATA[
<iq type='set' id='juliet1'> <iq type='set' id='juliet1'>
<query xmlns='urn:xmpp:mam:0' queryid='f27' /> <query xmlns='urn:xmpp:mam:0' queryid='f27' />
</iq> </iq>]]></example>
<!-- server accepts the query --> <example caption='Their server accepts the query'><![CDATA[
<iq type='result' id='juliet1'/> <iq type='result' id='juliet1'/>]]></example>
<!-- server sends matching messages ... --> <example caption='Their server sends the matching messages'><![CDATA[
<message from="witch@shakespeare.lit" to="macbeth@shakespeare.lit">
<body>Hail to thee</body>
</message>]]></example>
<!-- final message --> <example caption='Server returns the message sentinel'><![CDATA[
<message> <message>
<fin xmlns='urn:xmpp:mam:0' queryid='f27' /> <fin xmlns='urn:xmpp:mam:0' queryid='f27' />
</message> </message>]]></example>
]]></example>
<p>To ensure that the client knows when the results are complete, the server MUST send a &lt;fin&gt; message. The client can optionally include a 'queryid' attribute in their query, which allows the client to match results to their initiating query, and if present in the client's query the server MUST include it in the &lt;fin&gt; response.</p> <p>To ensure that the client knows when the results are complete, the server MUST send a &lt;fin&gt; message. The client can optionally include a 'queryid' attribute in their query, which allows the client to match results to their initiating query, and if present in the client's query the server MUST include it in the &lt;fin&gt; response.</p>
<p>When querying a pubsub node's archive, the 'node' attribute is added to the &lt;query&gt; element.</p> <p>When querying a pubsub node's archive, the 'node' attribute is added to the &lt;query&gt; element.</p>
<example caption="A user queries a pubsub node's archive for messages"><![CDATA[ <example caption="A user queries a pubsub node's archive for messages"><![CDATA[