mirror of https://github.com/moparisthebest/xeps
XEP-0389: fix tabbing and normalize quotes
This commit is contained in:
parent
dc89a31211
commit
dd9383527b
22
xep-0389.xml
22
xep-0389.xml
|
@ -193,7 +193,7 @@
|
||||||
and then a second dataform asking for a token provided to the user in a
|
and then a second dataform asking for a token provided to the user in a
|
||||||
text message or phone call depending on which flow the user selects.
|
text message or phone call depending on which flow the user selects.
|
||||||
</p>
|
</p>
|
||||||
<example caption="Host Advertises Stream Features"><![CDATA[
|
<example caption='Host Advertises Stream Features'><![CDATA[
|
||||||
<stream:features>
|
<stream:features>
|
||||||
<mechanisms xmlns='urn:xmpp:sasl:0'>
|
<mechanisms xmlns='urn:xmpp:sasl:0'>
|
||||||
<mechanism>EXTERNAL</mechanism>
|
<mechanism>EXTERNAL</mechanism>
|
||||||
|
@ -202,28 +202,28 @@
|
||||||
<mechanism>PLAIN</mechanism>
|
<mechanism>PLAIN</mechanism>
|
||||||
</mechanisms>
|
</mechanisms>
|
||||||
<register xmlns='urn:xmpp:register:0'>
|
<register xmlns='urn:xmpp:register:0'>
|
||||||
<flow id="0">
|
<flow id='0'>
|
||||||
<name>Verify with SMS</name>
|
<name>Verify with SMS</name>
|
||||||
<challenge>jabber:x:data</challenge>
|
<challenge>jabber:x:data</challenge>
|
||||||
</flow>
|
</flow>
|
||||||
<flow id="1">
|
<flow id='1'>
|
||||||
<name>Verify by Phone Call</name>
|
<name>Verify by Phone Call</name>
|
||||||
<challenge>jabber:x:data</challenge>
|
<challenge>jabber:x:data</challenge>
|
||||||
</flow>
|
</flow>
|
||||||
<flow id="2">
|
<flow id='2'>
|
||||||
<name>Verify with the web</name>
|
<name>Verify with the web</name>
|
||||||
<challenge>jabber:x:data</challenge>
|
<challenge>jabber:x:data</challenge>
|
||||||
<challenge>jabber:x:oob</challenge>
|
<challenge>jabber:x:oob</challenge>
|
||||||
</flow>
|
</flow>
|
||||||
</register>
|
</register>
|
||||||
<recovery xmlns='urn:xmpp:register:0'>
|
<recovery xmlns='urn:xmpp:register:0'>
|
||||||
<flow id="0">
|
<flow id='0'>
|
||||||
<name>Visit Password Recovery Site</name>
|
<name>Visit Password Recovery Site</name>
|
||||||
<challenge>jabber:x:oob</challenge>
|
<challenge>jabber:x:oob</challenge>
|
||||||
</flow>
|
</flow>
|
||||||
</recovery>
|
</recovery>
|
||||||
</stream:features>]]></example>
|
</stream:features>]]></example>
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic='Service Discovery'>
|
<section2 topic='Service Discovery'>
|
||||||
<p>
|
<p>
|
||||||
Clients, servers, and other services such as components that support
|
Clients, servers, and other services such as components that support
|
||||||
|
@ -244,19 +244,19 @@
|
||||||
For example, to select the "Verify by Phone Call" registration flow from
|
For example, to select the "Verify by Phone Call" registration flow from
|
||||||
the previous example, the client would reply with:
|
the previous example, the client would reply with:
|
||||||
</p>
|
</p>
|
||||||
<example caption="Client selects a recovery flow"><![CDATA[
|
<example caption='Client selects a recovery flow'><![CDATA[
|
||||||
<register xmlns='urn:xmpp:register:0'>
|
<register xmlns='urn:xmpp:register:0'>
|
||||||
<flow id="1"/>
|
<flow id='1'/>
|
||||||
</register>]]></example>
|
</register>]]></example>
|
||||||
<p>
|
<p>
|
||||||
If the client is initiating registration or recovery after a stream has
|
If the client is initiating registration or recovery after a stream has
|
||||||
already been initiated it uses the same registration element wrapped in an
|
already been initiated it uses the same registration element wrapped in an
|
||||||
IQ of type "set".
|
IQ of type "set".
|
||||||
</p>
|
</p>
|
||||||
<example caption="Client selects a recovery flow after stream negotiation"><![CDATA[
|
<example caption='Client selects a recovery flow after stream negotiation'><![CDATA[
|
||||||
<iq type="set" id="foo">
|
<iq type='set' id='foo'>
|
||||||
<recovery xmlns='urn:xmpp:register:0'>
|
<recovery xmlns='urn:xmpp:register:0'>
|
||||||
<flow id="0"/>
|
<flow id='0'/>
|
||||||
</recovery>
|
</recovery>
|
||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue