mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
Add a note that the execute action is discouraged
This commit is contained in:
parent
ed41edb80c
commit
fc14df1d8d
@ -370,6 +370,7 @@
|
|||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>The <command/> SHOULD include an <actions/> element, which specifies the details of what the allowed actions are for this stage of execution. Each element within <action/> matches a possible value for the <command/> element's "action" attribute. The "execute" attribute defines which of the included actions is considered the equivalent to "execute" for this stage. In the above example, the only allowed action is to progress to the next stage, which is also the default.</p>
|
<p>The <command/> SHOULD include an <actions/> element, which specifies the details of what the allowed actions are for this stage of execution. Each element within <action/> matches a possible value for the <command/> element's "action" attribute. The "execute" attribute defines which of the included actions is considered the equivalent to "execute" for this stage. In the above example, the only allowed action is to progress to the next stage, which is also the default.</p>
|
||||||
|
<p class="box"><strong>Note:</strong> The "execute" action (not the attribute) is ambiguous and may have undefined behaviour in some implementations. Relying on the specific behavior of the execute action is discouraged, especially in cases where the "complete" action is not allowed and the "execute" attribute is not specified (see also <link url="#impl-actions">Command Actions</link>.</p>
|
||||||
<p>The requester then submits the form, maintaining the command node and sessionid:</p>
|
<p>The requester then submits the form, maintaining the command node and sessionid:</p>
|
||||||
<example caption='Execute command request (stage 2)'><![CDATA[
|
<example caption='Execute command request (stage 2)'><![CDATA[
|
||||||
<iq type='set' to='responder@domain' id='exec2'>
|
<iq type='set' to='responder@domain' id='exec2'>
|
||||||
|
Loading…
Reference in New Issue
Block a user