mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 12:12:22 -05:00
XEP-0389: inline examples in Retrieving the Flows
This commit is contained in:
parent
eb3ccc48f0
commit
19c32fce88
14
xep-0389.xml
14
xep-0389.xml
@ -293,19 +293,17 @@
|
|||||||
<register> or <recovery> element qualified by the
|
<register> or <recovery> element qualified by the
|
||||||
"urn:xmpp:register:0" namespace.
|
"urn:xmpp:register:0" namespace.
|
||||||
</p>
|
</p>
|
||||||
|
<example caption='Registration flows query'><![CDATA[
|
||||||
|
<iq type='get'>
|
||||||
|
<register xmlns='urn:xmpp:register:0'/>
|
||||||
|
</iq>]]></example>
|
||||||
<p>
|
<p>
|
||||||
When responding to a query for registration or recovery flows the list of
|
When responding to a query for registration or recovery flows the list of
|
||||||
challenges should be included just as it would be if during stream feature
|
challenges should be included just as it would be if during stream feature
|
||||||
negotiation.
|
negotiation.
|
||||||
That is, a "register" or "recovery" element containing a list of flows,
|
That is, a "register" or "recovery" element containing a list of flows,
|
||||||
each with an id, containing a name and a list of challenges.
|
each with an id, containing a name and a list of challenges.
|
||||||
If an entity supports this specification but does not provide any flows
|
|
||||||
after stream negotiation it MUST respond with an empty list.
|
|
||||||
</p>
|
</p>
|
||||||
<example caption='Registration flows query'><![CDATA[
|
|
||||||
<iq type='get'>
|
|
||||||
<register xmlns='urn:xmpp:register:0'/>
|
|
||||||
</iq>]]></example>
|
|
||||||
<example caption='Registration flows results'><![CDATA[
|
<example caption='Registration flows results'><![CDATA[
|
||||||
<iq type='result'>
|
<iq type='result'>
|
||||||
<register xmlns='urn:xmpp:register:0'>
|
<register xmlns='urn:xmpp:register:0'>
|
||||||
@ -324,6 +322,10 @@
|
|||||||
</flow>
|
</flow>
|
||||||
</register>
|
</register>
|
||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
|
<p>
|
||||||
|
If an entity supports this specification but does not provide any flows
|
||||||
|
after stream negotiation it MUST respond with an empty list.
|
||||||
|
</p>
|
||||||
<example caption='Empty registration flows results'><![CDATA[
|
<example caption='Empty registration flows results'><![CDATA[
|
||||||
<iq type='result'>
|
<iq type='result'>
|
||||||
<register xmlns='urn:xmpp:register:0'/>
|
<register xmlns='urn:xmpp:register:0'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user