Browse Source

XEP-0401: Handle namespace bump

Jonas Wielicki 1 year ago
parent
commit
67fa7b86ef
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      xep-0401.xml

+ 8
- 6
xep-0401.xml View File

@@ -38,6 +38,8 @@
38 38
       <p>Used Data Forms for extension of In-Band Registration as required by <strong>XEP-0077</strong> § 4.</p>
39 39
       <p>Added "defined condition" elements in error stanzas as required by <strong>RFC 6120</strong> § 8.3.2.</p>
40 40
       <p>Changed type of "invalid-token" error to "modify".</p>
41
+      <p>Fix namespacing of Ad-Hoc commands</p>
42
+      <p>Bump namespace to invite:1</p>
41 43
     </remark>
42 44
   </revision>
43 45
   <revision>
@@ -328,7 +330,7 @@
328 330
     <example caption="Retrieving registration fields"><![CDATA[
329 331
 <iq type='get' id='reg1' to='example.com'>
330 332
   <query xmlns='jabber:iq:register'>
331
-    <preauth xmlns='urn:xmpp:invite:0'/>
333
+    <preauth xmlns='urn:xmpp:invite:1'/>
332 334
   </query>
333 335
 </iq>
334 336
 ]]></example>
@@ -340,7 +342,7 @@
340 342
   <query xmlns='jabber:iq:register'>
341 343
     <x xmlns='jabber:x:data' type='form'>
342 344
       <field type='hidden' var='FORM_TYPE'>
343
-        <value>urn:xmpp:invite:0</value>
345
+        <value>urn:xmpp:invite:1</value>
344 346
       </field>
345 347
       <field type='text-single' label='Username' var='username'>
346 348
         <required/>
@@ -360,7 +362,7 @@
360 362
   <query xmlns='jabber:iq:register'>
361 363
     <x xmlns='jabber:x:data' type='form'>
362 364
       <field type='hidden' var='FORM_TYPE'>
363
-        <value>urn:xmpp:invite:0</value>
365
+        <value>urn:xmpp:invite:1</value>
364 366
       </field>
365 367
       <field type='text-single' var='username'>
366 368
         <value>juliet<value/>
@@ -375,7 +377,7 @@
375 377
   </query>
376 378
   <error type='modify'>
377 379
     <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
378
-    <invalid-token xmlns='urn:xmpp:invite:0'/>
380
+    <invalid-token xmlns='urn:xmpp:invite:1'/>
379 381
   </error>
380 382
 </iq>
381 383
 ]]></example>
@@ -384,7 +386,7 @@
384 386
   <query xmlns='jabber:iq:register'>
385 387
     <x xmlns='jabber:x:data' type='form'>
386 388
       <field type='hidden' var='FORM_TYPE'>
387
-        <value>urn:xmpp:invite:0</value>
389
+        <value>urn:xmpp:invite:1</value>
388 390
       </field>
389 391
       <field type='text-single' var='username'>
390 392
         <value>juliet<value/>
@@ -399,7 +401,7 @@
399 401
   </query>
400 402
   <error type='cancel'>
401 403
     <not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
402
-    <token-expired xmlns='urn:xmpp:invite:0'/>
404
+    <token-expired xmlns='urn:xmpp:invite:1'/>
403 405
   </error>
404 406
 </iq>
405 407
 ]]></example>

Loading…
Cancel
Save