mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
corrected examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3967 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
a498e49806
commit
ec0578062d
@ -1008,15 +1008,8 @@
|
|||||||
<section1 topic='Stream Feature' anchor='streamfeature'>
|
<section1 topic='Stream Feature' anchor='streamfeature'>
|
||||||
<p>&xmppcore; defines methods for advertising feature support during stream negotiation. For the sake of efficiency, it may be desirable for a server to advertise support for Advanced Message Processing as a stream feature. The namespace for reporting support within <stream:features/> is "http://jabber.org/features/amp". Upon receiving a stream header from the initiating entity, the receiving entity (usually a server) returns a stream header to initiating entity and MAY announce support for Advanced Message Processing registration by including the relevant stream feature:</p>
|
<p>&xmppcore; defines methods for advertising feature support during stream negotiation. For the sake of efficiency, it may be desirable for a server to advertise support for Advanced Message Processing as a stream feature. The namespace for reporting support within <stream:features/> is "http://jabber.org/features/amp". Upon receiving a stream header from the initiating entity, the receiving entity (usually a server) returns a stream header to initiating entity and MAY announce support for Advanced Message Processing registration by including the relevant stream feature:</p>
|
||||||
<example caption='Advertising Advanced Message Processing as a stream feature'><![CDATA[
|
<example caption='Advertising Advanced Message Processing as a stream feature'><![CDATA[
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
|
||||||
<stream:stream xmlns:stream='http://etherx.jabber.org/streams/'
|
|
||||||
xmlns='jabber:client'
|
|
||||||
from='somedomain'
|
|
||||||
version='1.0'>
|
|
||||||
<stream:features>
|
<stream:features>
|
||||||
...
|
|
||||||
<amp xmlns='http://jabber.org/features/amp'/>
|
<amp xmlns='http://jabber.org/features/amp'/>
|
||||||
...
|
|
||||||
</stream:features>
|
</stream:features>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section1>
|
</section1>
|
||||||
|
Loading…
Reference in New Issue
Block a user