mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-23 01:32:22 -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>
|
||||
<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 @@
|
||||
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 @@
|
||||
</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., <forbidden/> 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…
Reference in New Issue
Block a user