1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

XEP-0401: Handle namespace bump

This commit is contained in:
Jonas Wielicki 2018-03-04 16:35:46 +01:00
parent 3892030c27
commit 67fa7b86ef

View File

@ -38,6 +38,8 @@
<p>Used Data Forms for extension of In-Band Registration as required by <strong>XEP-0077</strong> § 4.</p> <p>Used Data Forms for extension of In-Band Registration as required by <strong>XEP-0077</strong> § 4.</p>
<p>Added "defined condition" elements in error stanzas as required by <strong>RFC 6120</strong> § 8.3.2.</p> <p>Added "defined condition" elements in error stanzas as required by <strong>RFC 6120</strong> § 8.3.2.</p>
<p>Changed type of "invalid-token" error to "modify".</p> <p>Changed type of "invalid-token" error to "modify".</p>
<p>Fix namespacing of Ad-Hoc commands</p>
<p>Bump namespace to invite:1</p>
</remark> </remark>
</revision> </revision>
<revision> <revision>
@ -328,7 +330,7 @@
<example caption="Retrieving registration fields"><![CDATA[ <example caption="Retrieving registration fields"><![CDATA[
<iq type='get' id='reg1' to='example.com'> <iq type='get' id='reg1' to='example.com'>
<query xmlns='jabber:iq:register'> <query xmlns='jabber:iq:register'>
<preauth xmlns='urn:xmpp:invite:0'/> <preauth xmlns='urn:xmpp:invite:1'/>
</query> </query>
</iq> </iq>
]]></example> ]]></example>
@ -340,7 +342,7 @@
<query xmlns='jabber:iq:register'> <query xmlns='jabber:iq:register'>
<x xmlns='jabber:x:data' type='form'> <x xmlns='jabber:x:data' type='form'>
<field type='hidden' var='FORM_TYPE'> <field type='hidden' var='FORM_TYPE'>
<value>urn:xmpp:invite:0</value> <value>urn:xmpp:invite:1</value>
</field> </field>
<field type='text-single' label='Username' var='username'> <field type='text-single' label='Username' var='username'>
<required/> <required/>
@ -360,7 +362,7 @@
<query xmlns='jabber:iq:register'> <query xmlns='jabber:iq:register'>
<x xmlns='jabber:x:data' type='form'> <x xmlns='jabber:x:data' type='form'>
<field type='hidden' var='FORM_TYPE'> <field type='hidden' var='FORM_TYPE'>
<value>urn:xmpp:invite:0</value> <value>urn:xmpp:invite:1</value>
</field> </field>
<field type='text-single' var='username'> <field type='text-single' var='username'>
<value>juliet<value/> <value>juliet<value/>
@ -375,7 +377,7 @@
</query> </query>
<error type='modify'> <error type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<invalid-token xmlns='urn:xmpp:invite:0'/> <invalid-token xmlns='urn:xmpp:invite:1'/>
</error> </error>
</iq> </iq>
]]></example> ]]></example>
@ -384,7 +386,7 @@
<query xmlns='jabber:iq:register'> <query xmlns='jabber:iq:register'>
<x xmlns='jabber:x:data' type='form'> <x xmlns='jabber:x:data' type='form'>
<field type='hidden' var='FORM_TYPE'> <field type='hidden' var='FORM_TYPE'>
<value>urn:xmpp:invite:0</value> <value>urn:xmpp:invite:1</value>
</field> </field>
<field type='text-single' var='username'> <field type='text-single' var='username'>
<value>juliet<value/> <value>juliet<value/>
@ -399,7 +401,7 @@
</query> </query>
<error type='cancel'> <error type='cancel'>
<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<token-expired xmlns='urn:xmpp:invite:0'/> <token-expired xmlns='urn:xmpp:invite:1'/>
</error> </error>
</iq> </iq>
]]></example> ]]></example>