1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

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

View File

@ -29,6 +29,12 @@
<email>lancestout@gmail.com</email> <email>lancestout@gmail.com</email>
<jid>lance@lance.im</jid> <jid>lance@lance.im</jid>
</author> </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> <revision>
<version>0.2</version> <version>0.2</version>
<date>2015-09-10</date> <date>2015-09-10</date>
@ -279,7 +285,7 @@
<example caption='Enabling Notifications, with provided publish options'><![CDATA[ <example caption='Enabling Notifications, with provided publish options'><![CDATA[
<iq type='set' id='x43'> <iq type='set' id='x43'>
<enable xmlns='urn:xmpp:push:0' jid='push-5.client.example' node='yxs32uqsflafdk3iuqo'> <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='FORM_TYPE'><value>http://jabber.org/protocol/pubsub#publish-options</value></field>
<field var='secret'><value>eruio234vzxc2kla-91<value></field> <field var='secret'><value>eruio234vzxc2kla-91<value></field>
</x> </x>