mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-03 06:22:16 -05:00
XEP-0280: Fix indentation in examples
This commit is contained in:
parent
7c43e4aaa8
commit
d5ea373e2a
30
xep-0280.xml
30
xep-0280.xml
@ -53,6 +53,12 @@
|
|||||||
<email>georg@op-co.de</email>
|
<email>georg@op-co.de</email>
|
||||||
<jid>georg@yax.im</jid>
|
<jid>georg@yax.im</jid>
|
||||||
</author>
|
</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>
|
<revision>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<date>2021-10-12</date>
|
<date>2021-10-12</date>
|
||||||
@ -244,9 +250,9 @@
|
|||||||
to='montague.example'
|
to='montague.example'
|
||||||
type='get'>
|
type='get'>
|
||||||
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
<example caption='Server responds with Carbons feature'><![CDATA[
|
<example caption='Server responds with Carbons feature'><![CDATA[
|
||||||
<iq xmlns='jabber:client'
|
<iq xmlns='jabber:client'
|
||||||
from='montague.example'
|
from='montague.example'
|
||||||
id='info1'
|
id='info1'
|
||||||
to='romeo@montague.example/garden'
|
to='romeo@montague.example/garden'
|
||||||
@ -271,18 +277,18 @@
|
|||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
<p>The server will respond with an IQ-result when Carbons are enabled:</p>
|
<p>The server will respond with an IQ-result when Carbons are enabled:</p>
|
||||||
<example caption='Server acknowledges enabling Carbons'><![CDATA[
|
<example caption='Server acknowledges enabling Carbons'><![CDATA[
|
||||||
<iq xmlns='jabber:client'
|
<iq xmlns='jabber:client'
|
||||||
from='romeo@montague.example'
|
from='romeo@montague.example'
|
||||||
id='enable1'
|
id='enable1'
|
||||||
to='romeo@montague.example/garden'
|
to='romeo@montague.example/garden'
|
||||||
type='result'/>]]></example>
|
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., <forbidden/> if local policy forbids the client from enabling):</p>
|
<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., <forbidden/> if local policy forbids the client from enabling):</p>
|
||||||
<example caption='Server forbids client from enabling Carbons'><![CDATA[
|
<example caption='Server forbids client from enabling Carbons'><![CDATA[
|
||||||
<iq xmlns='jabber:client'
|
<iq xmlns='jabber:client'
|
||||||
from='romeo@montague.example'
|
from='romeo@montague.example'
|
||||||
id='enable1'
|
id='enable1'
|
||||||
to='romeo@montague.example/garden'
|
to='romeo@montague.example/garden'
|
||||||
type='error'>
|
type='error'>
|
||||||
<error type='auth'>
|
<error type='auth'>
|
||||||
<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||||
</error>
|
</error>
|
||||||
|
Loading…
Reference in New Issue
Block a user