mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
Merge XEP-0284 example fix
This commit is contained in:
commit
33b239bbc2
94
xep-0284.xml
94
xep-0284.xml
@ -33,6 +33,16 @@
|
||||
<surname>Pusateri</surname>
|
||||
<email>pusateri@bangj.com</email>
|
||||
</author>
|
||||
<revision>
|
||||
<version>0.1.1</version>
|
||||
<date>2019-11-23</date>
|
||||
<initials>egp</initials>
|
||||
<remark><ul>
|
||||
<li>Add missing <state/> wrapper in example.</li>
|
||||
<li>Fix duplicated new element in example.</li>
|
||||
<li>Fix indentation.</li>
|
||||
</ul></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.1.1</version>
|
||||
<date>2019-02-20</date>
|
||||
@ -242,9 +252,9 @@
|
||||
host='chamber@conference.shakespeare.lit'
|
||||
initiator='kingclaudius@shakespeare.lit/castle'
|
||||
sid='851ba2'>
|
||||
<reason>
|
||||
<unsupported-applications/>
|
||||
</reason>
|
||||
<reason>
|
||||
<unsupported-applications/>
|
||||
</reason>
|
||||
</jingle>
|
||||
</iq>
|
||||
]]></example>
|
||||
@ -351,8 +361,8 @@
|
||||
]]></example>
|
||||
</section2>
|
||||
<section2 topic='Refusing a State Offer'>
|
||||
<p>If a multiple state offers were received, one should be accepted and the others should be refused by sending a <refuse-state/> element.</p>
|
||||
<example caption='Refusing a state offer'><![CDATA[
|
||||
<p>If a multiple state offers were received, one should be accepted and the others should be refused by sending a <refuse-state/> element.</p>
|
||||
<example caption='Refusing a state offer'><![CDATA[
|
||||
<message
|
||||
from='laertes@shakespeare.lit/castle'
|
||||
to='kingclaudius@shakespeare.lit/castle'>
|
||||
@ -443,10 +453,6 @@
|
||||
rid='GUID6'
|
||||
parent='GUID4'
|
||||
primary-weight='-2.43'/>
|
||||
<new type='element'
|
||||
name='title'
|
||||
parent='GUID3'
|
||||
rid='GUID4' />
|
||||
<new type='element'
|
||||
name='body'
|
||||
parent='GUID1'
|
||||
@ -471,19 +477,19 @@
|
||||
<sxe xmlns='urn:xmpp:sxe:0'
|
||||
session='851ba2'
|
||||
id='4'>
|
||||
<state>
|
||||
<new type='element'
|
||||
name='p'
|
||||
parent='GUID7'
|
||||
rid='GUID8' />
|
||||
<new type='text'
|
||||
chdata='It's good to be the king!'
|
||||
parent='GUID8'
|
||||
rid='GUID9'/>
|
||||
<set target='GUID5'
|
||||
version='1'
|
||||
chdata='It's good to be the king!'/>
|
||||
</state>
|
||||
<state>
|
||||
<new type='element'
|
||||
name='p'
|
||||
parent='GUID7'
|
||||
rid='GUID8' />
|
||||
<new type='text'
|
||||
chdata='It's good to be the king!'
|
||||
parent='GUID8'
|
||||
rid='GUID9'/>
|
||||
<set target='GUID5'
|
||||
version='1'
|
||||
chdata='It's good to be the king!'/>
|
||||
</state>
|
||||
</sxe>
|
||||
</message>
|
||||
]]></example>
|
||||
@ -495,27 +501,29 @@
|
||||
<sxe xmlns='urn:xmpp:sxe:0'
|
||||
session='851ba2'
|
||||
id='4'>
|
||||
<new type='element'
|
||||
name='p'
|
||||
parent='GUID7'
|
||||
rid='GUID10' />
|
||||
<new type='text'
|
||||
chdata='It certainly is!'
|
||||
parent='GUID10'
|
||||
rid='GUID11' />
|
||||
<set target='GUID5'
|
||||
version='1'
|
||||
chdata='It certainly is' />
|
||||
<set target='GUID6'
|
||||
version='1'
|
||||
replacefrom='9'
|
||||
replacen='16'
|
||||
chdata='' />
|
||||
<set target='GUID6'
|
||||
version='2'
|
||||
replacefrom='3'
|
||||
replacen='0'
|
||||
chdata='document'/>
|
||||
<state>
|
||||
<new type='element'
|
||||
name='p'
|
||||
parent='GUID7'
|
||||
rid='GUID10' />
|
||||
<new type='text'
|
||||
chdata='It certainly is!'
|
||||
parent='GUID10'
|
||||
rid='GUID11' />
|
||||
<set target='GUID5'
|
||||
version='1'
|
||||
chdata='It certainly is' />
|
||||
<set target='GUID6'
|
||||
version='1'
|
||||
replacefrom='9'
|
||||
replacen='16'
|
||||
chdata='' />
|
||||
<set target='GUID6'
|
||||
version='2'
|
||||
replacefrom='3'
|
||||
replacen='0'
|
||||
chdata='document'/>
|
||||
</state>
|
||||
</sxe>
|
||||
</message>
|
||||
]]></example>
|
||||
|
Loading…
Reference in New Issue
Block a user