1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

fixes in two examples

This commit is contained in:
stpeter 2011-09-19 15:01:06 -06:00
parent 4dd684f328
commit a94e459234

View File

@ -159,7 +159,7 @@
<section2 topic='Entity Registers with a Host' anchor='usecases-register'>
<p>In order to determine which fields are required for registration with a host, an entity SHOULD first send an IQ get to the host. The entity SHOULD NOT attempt to guess at the required fields by first sending an IQ set, since the nature of the required data is subject to service provisioning.</p>
<example caption='Entity Requests Registration Fields from Host'><![CDATA[
<iq type='get' id='reg1'>
<iq type='get' id='reg1' to='shakespeare.lit'>
<query xmlns='jabber:iq:register'/>
</iq>
]]></example>
@ -664,7 +664,7 @@ xmpp:marlowe.shakespeare.lit?register
xmpp:marlowe.shakespeare.lit?unregister
]]></example>
<example caption='Unregister Action: Resulting Stanza'><![CDATA[
<iq to='marlowe.shakespeare.lit' type='get'>
<iq to='marlowe.shakespeare.lit' type='set'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>