1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 00:35:02 -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>
&stpeter;
&hildjj;
<revision>
<version>1.0.1</version>
<date>2019-10-09</date>
<initials>fs</initials>
<remark><p>Fix &IQ; example.</p></remark>
</revision>
<revision>
<version>1.0</version>
<date>2003-04-01</date>
@ -71,13 +77,14 @@
<example caption='Evil Entity Sends Evil Message'><![CDATA[
<iq from='iago@shakespeare.lit/pda'
id='evil1'
type='result'
to='emilia@shakespeare.lit/mobile'>
<query xmlns='jabber:iq:version'>
<name>Stabber</name>
<version>666</version>
<os>FiendOS</os>
</query>
<evil xmlns='http://jabber.org/protocol/evil'/>
</query>
</iq>
]]></example>
</section2>