1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-23 01:32:22 -05:00

XEP "Malicous Stanzas" (XEP-0076): Fix IQ example

Extensions elements in IQ go as sub-child element into the direct IQ
child element (of which IQs usually can only have at most one).
This commit is contained in:
Florian Schmaus 2019-10-09 13:27:24 +02:00
parent bb19e0d674
commit 1aceb3168e

View File

@ -22,6 +22,12 @@
<shortname>evil</shortname> <shortname>evil</shortname>
&stpeter; &stpeter;
&hildjj; &hildjj;
<revision>
<version>1.0.1</version>
<date>2019-10-09</date>
<initials>fs</initials>
<remark><p>Fix &IQ; example.</p></remark>
</revision>
<revision> <revision>
<version>1.0</version> <version>1.0</version>
<date>2003-04-01</date> <date>2003-04-01</date>
@ -71,13 +77,14 @@
<example caption='Evil Entity Sends Evil Message'><![CDATA[ <example caption='Evil Entity Sends Evil Message'><![CDATA[
<iq from='iago@shakespeare.lit/pda' <iq from='iago@shakespeare.lit/pda'
id='evil1' id='evil1'
type='result'
to='emilia@shakespeare.lit/mobile'> to='emilia@shakespeare.lit/mobile'>
<query xmlns='jabber:iq:version'> <query xmlns='jabber:iq:version'>
<name>Stabber</name> <name>Stabber</name>
<version>666</version> <version>666</version>
<os>FiendOS</os> <os>FiendOS</os>
</query>
<evil xmlns='http://jabber.org/protocol/evil'/> <evil xmlns='http://jabber.org/protocol/evil'/>
</query>
</iq> </iq>
]]></example> ]]></example>
</section2> </section2>