XEP-0357: Add missing type attribute to <x/> tag

According to XEP-0004, the type attribute is required for the <x/>
element.
This commit is contained in:
Holger Weiß 2016-02-15 23:59:38 +01:00 committed by Matthew A. Miller
parent fda54563b6
commit 31e3069cd8
1 changed files with 7 additions and 1 deletions

View File

@ -29,6 +29,12 @@
<email>lancestout@gmail.com</email>
<jid>lance@lance.im</jid>
</author>
<revision>
<version>0.2.1</version>
<date>2016-02-16</date>
<initials>XEP Editor (mam)</initials>
<remark><p>Fix example to include 'type' attribute in accordance with XEP-0004 (Holger Weiß).</p></remark>
</revision>
<revision>
<version>0.2</version>
<date>2015-09-10</date>
@ -279,7 +285,7 @@
<example caption='Enabling Notifications, with provided publish options'><![CDATA[
<iq type='set' id='x43'>
<enable xmlns='urn:xmpp:push:0' jid='push-5.client.example' node='yxs32uqsflafdk3iuqo'>
<x xmlns='jabber:x:data'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'><value>http://jabber.org/protocol/pubsub#publish-options</value></field>
<field var='secret'><value>eruio234vzxc2kla-91<value></field>
</x>