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

fix bad xml in example

fix bad hostname in example

fix description in example
This commit is contained in:
Stefan Strigler 2015-09-28 11:18:43 +02:00 committed by Matthew A. Miller
parent 3020652e01
commit 29cdac37ae

View File

@ -29,6 +29,13 @@
<jid>goffi@jabber.fr</jid> <jid>goffi@jabber.fr</jid>
</author> </author>
<revision>
<version>0.2.1</version>
<date>2015-10-15</date>
<initials>XEP Editor (mam)</initials>
<remark><p>Corrected examples (Stefan Strigler).</p></remark>
</revision>
<revision> <revision>
<version>0.2</version> <version>0.2</version>
<date>2014-03-21</date> <date>2014-03-21</date>
@ -107,11 +114,11 @@
<section2 topic='Delegation Request Use Case' anchor='admin_perm'> <section2 topic='Delegation Request Use Case' anchor='admin_perm'>
<p>Once the managing entity is authenticated and stream is started, the server send it a &MESSAGE; stanza with a &lt;delegation/&gt; elements which MUST have the <strong>'urn:xmpp:delegation:1'</strong> namespace. This element contains &lt;delegated/&gt; elements which MUST contain a 'namespace' attribute indicating the delegated namespace. If there is additional attribute filtering, the &lt;delegated/&gt; can have children &lt;attribute/&gt; elements which MUST contain a 'name' attribute with the name of the filtering attribute.</p> <p>Once the managing entity is authenticated and stream is started, the server send it a &MESSAGE; stanza with a &lt;delegation/&gt; elements which MUST have the <strong>'urn:xmpp:delegation:1'</strong> namespace. This element contains &lt;delegated/&gt; elements which MUST contain a 'namespace' attribute indicating the delegated namespace. If there is additional attribute filtering, the &lt;delegated/&gt; can have children &lt;attribute/&gt; elements which MUST contain a 'name' attribute with the name of the filtering attribute.</p>
<example caption='server advertise delegated namespaces'><![CDATA[ <example caption='server advertise delegated namespaces'><![CDATA[
<message from='capulet.net' to='pubub.capulet.lit' id='12345'> <message from='capulet.lit' to='pubub.capulet.lit' id='12345'>
<delegation xmlns='urn:xmpp:delegation:1'> <delegation xmlns='urn:xmpp:delegation:1'>
<delegated namespace='urn:xmpp:mam:0'> <delegated namespace='urn:xmpp:mam:0'>
<attribute name='node' /> <attribute name='node' />
<delegated/> </delegated>
<delegated namespace='http://jabber.org/protocol/pubsub'/> <delegated namespace='http://jabber.org/protocol/pubsub'/>
</delegation> </delegation>
</message> </message>
@ -166,7 +173,7 @@
</iq> </iq>
]]></example> ]]></example>
<p>The managing entity replies to the stanza by encapsulating its &IQ; result in the same way:</p> <p>The managing entity replies to the stanza by encapsulating its &IQ; result in the same way:</p>
<example caption='pubsub.capulet.lit replies badly to juliet'><![CDATA[ <example caption='pubsub.capulet.lit replies to juliet'><![CDATA[
<iq from='pubsub.capulet.lit' <iq from='pubsub.capulet.lit'
to='capulet.lit' to='capulet.lit'
id='delegate1' id='delegate1'