Browse Source

XEP-0280: Fix indentation in examples

master
Emmanuel Gil Peyrot 9 months ago
parent
commit
d5ea373e2a
  1. 30
      xep-0280.xml

30
xep-0280.xml

@ -53,6 +53,12 @@ @@ -53,6 +53,12 @@
<email>georg@op-co.de</email>
<jid>georg@yax.im</jid>
</author>
<revision>
<version>1.0.1</version>
<date>2021-12-26</date>
<initials>egp</initials>
<remark><p>Fix indentation in examples.</p></remark>
</revision>
<revision>
<version>1.0.0</version>
<date>2021-10-12</date>
@ -244,9 +250,9 @@ @@ -244,9 +250,9 @@
to='montague.example'
type='get'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>]]></example>
</iq>]]></example>
<example caption='Server responds with Carbons feature'><![CDATA[
<iq xmlns='jabber:client'
<iq xmlns='jabber:client'
from='montague.example'
id='info1'
to='romeo@montague.example/garden'
@ -271,18 +277,18 @@ @@ -271,18 +277,18 @@
</iq>]]></example>
<p>The server will respond with an IQ-result when Carbons are enabled:</p>
<example caption='Server acknowledges enabling Carbons'><![CDATA[
<iq xmlns='jabber:client'
from='romeo@montague.example'
id='enable1'
to='romeo@montague.example/garden'
type='result'/>]]></example>
<iq xmlns='jabber:client'
from='romeo@montague.example'
id='enable1'
to='romeo@montague.example/garden'
type='result'/>]]></example>
<p>If the server cannot enable Carbons for this client, it sends an IQ-error to the client, with an appropriate error condition (e.g., &lt;forbidden/&gt; if local policy forbids the client from enabling):</p>
<example caption='Server forbids client from enabling Carbons'><![CDATA[
<iq xmlns='jabber:client'
from='romeo@montague.example'
id='enable1'
to='romeo@montague.example/garden'
type='error'>
<iq xmlns='jabber:client'
from='romeo@montague.example'
id='enable1'
to='romeo@montague.example/garden'
type='error'>
<error type='auth'>
<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>

Loading…
Cancel
Save