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:
parent
bb19e0d674
commit
1aceb3168e
@ -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>
|
||||
<evil xmlns='http://jabber.org/protocol/evil'/>
|
||||
</query>
|
||||
<evil xmlns='http://jabber.org/protocol/evil'/>
|
||||
</iq>
|
||||
]]></example>
|
||||
</section2>
|
||||
|
Loading…
Reference in New Issue
Block a user