mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XML not well formed in examples
This commit is contained in:
parent
b381f64aef
commit
8844d4f45f
50
xep-0024.xml
50
xep-0024.xml
@ -276,6 +276,7 @@ SEND: <iq type='set' to='pubsub.localhost'
|
|||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<unsubscribe to='publisher'>
|
<unsubscribe to='publisher'>
|
||||||
<ns>namespace:1</ns>
|
<ns>namespace:1</ns>
|
||||||
|
</unsubscribe>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
|
|
||||||
@ -284,6 +285,7 @@ RECV: <iq type='result' from='pubsub.localhost'
|
|||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<unsubscribe to='publisher'>
|
<unsubscribe to='publisher'>
|
||||||
<ns>namespace:1</ns>
|
<ns>namespace:1</ns>
|
||||||
|
</unsubscribe>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
</example>
|
</example>
|
||||||
@ -541,22 +543,22 @@ SEND: <iq type='get' to='pubsub.localhost'
|
|||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
|
|
||||||
RECV: >iq type='result' from='pubsub.localhost'
|
RECV: <iq type='result' from='pubsub.localhost'
|
||||||
to='subscriber@localhost/resource' id='s1'>
|
to='subscriber@localhost/resource' id='s1'>
|
||||||
>query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
>subscribe>
|
<subscribe>
|
||||||
>ns>namespace:1>/ns>
|
<ns>namespace:1</ns>
|
||||||
>ns>namespace:2>/ns>
|
<ns>namespace:2</ns>
|
||||||
>/subscribe>
|
</subscribe>
|
||||||
>subscribe to='publisherA'>
|
<subscribe to='publisherA'>
|
||||||
>ns>namespace:2>/ns>
|
<ns>namespace:2</ns>
|
||||||
>ns>namespace:4>/ns>
|
<ns>namespace:4</ns>
|
||||||
>/subscribe>
|
</subscribe>
|
||||||
>subscribe to='publisherB'>
|
<subscribe to='publisherB'>
|
||||||
>ns>namespace:5>/ns>
|
<ns>namespace:5</ns>
|
||||||
>/subscribe>
|
</subscribe>
|
||||||
>/query>
|
</query>
|
||||||
>/iq>
|
</iq>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -586,7 +588,7 @@ A publisher can publish information within a certain namespace, like this:
|
|||||||
SEND: <iq type='set' to='pubsub.localhost'
|
SEND: <iq type='set' to='pubsub.localhost'
|
||||||
from='publisher@localhost/resource' id='s1'>
|
from='publisher@localhost/resource' id='s1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<publish ns='foo'/>
|
<publish ns='foo'>
|
||||||
<foo xmlns='foo'>bar</foo>
|
<foo xmlns='foo'>bar</foo>
|
||||||
</publish>
|
</publish>
|
||||||
</query>
|
</query>
|
||||||
@ -595,7 +597,7 @@ SEND: <iq type='set' to='pubsub.localhost'
|
|||||||
RECV: <iq type='result' from='pubsub.localhost'
|
RECV: <iq type='result' from='pubsub.localhost'
|
||||||
to='publisher@localhost/resource' id='s1'>
|
to='publisher@localhost/resource' id='s1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<publish ns='foo'/>
|
<publish ns='foo'>
|
||||||
<foo xmlns='foo'>bar</foo>
|
<foo xmlns='foo'>bar</foo>
|
||||||
</publish>
|
</publish>
|
||||||
</query>
|
</query>
|
||||||
@ -611,14 +613,14 @@ like this:
|
|||||||
SEND: <iq type='set' to='pubsub.localhost'
|
SEND: <iq type='set' to='pubsub.localhost'
|
||||||
from='publisher.localhost' id='s1'>
|
from='publisher.localhost' id='s1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<publish ns='foo'/>
|
<publish ns='foo'>
|
||||||
<foo xmlns='foo'>bar</foo>
|
<foo xmlns='foo'>bar</foo>
|
||||||
</publish>
|
</publish>
|
||||||
<publish ns='jabber:x:oob'/>
|
<publish ns='jabber:x:oob'>
|
||||||
<x xmlns='jabber:x:oob'>
|
<x xmlns='jabber:x:oob'>
|
||||||
<url>http://www.pipetree.com/jabber/</url>
|
<url>http://www.pipetree.com/jabber/</url>
|
||||||
<desc>Some stuff about Jabber</desc>
|
<desc>Some stuff about Jabber</desc>
|
||||||
>
|
</x>
|
||||||
</publish>
|
</publish>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
@ -626,14 +628,14 @@ SEND: <iq type='set' to='pubsub.localhost'
|
|||||||
RECV: <iq type='result' from='pubsub.localhost'
|
RECV: <iq type='result' from='pubsub.localhost'
|
||||||
to='publisher.localhost' id='s1'>
|
to='publisher.localhost' id='s1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<publish ns='foo'/>
|
<publish ns='foo'>
|
||||||
<foo xmlns='foo'>bar</foo>
|
<foo xmlns='foo'>bar</foo>
|
||||||
</publish>
|
</publish>
|
||||||
<publish ns='jabber:x:oob'/>
|
<publish ns='jabber:x:oob'>
|
||||||
<x xmlns='jabber:x:oob'>
|
<x xmlns='jabber:x:oob'>
|
||||||
<url>http://www.pipetree.com/jabber/</url>
|
<url>http://www.pipetree.com/jabber/</url>
|
||||||
<desc>Some stuff about Jabber</desc>
|
<desc>Some stuff about Jabber</desc>
|
||||||
>
|
</x>
|
||||||
</publish>
|
</publish>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
@ -697,7 +699,7 @@ must send to push this foo data out to a subscriber.
|
|||||||
SEND: <iq type='set' to='subscriber@localhost/foosink'
|
SEND: <iq type='set' to='subscriber@localhost/foosink'
|
||||||
from='pubsub.localhost' id='push1'>
|
from='pubsub.localhost' id='push1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<publish ns='foo' from='publisher@localhost'/>
|
<publish ns='foo' from='publisher@localhost'>
|
||||||
<foo xmlns='foo'>bar</foo>
|
<foo xmlns='foo'>bar</foo>
|
||||||
</publish>
|
</publish>
|
||||||
</query>
|
</query>
|
||||||
|
Loading…
Reference in New Issue
Block a user