mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
XML errors in examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2349 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
8bd75fcfe3
commit
abb473544e
@ -1149,7 +1149,7 @@
|
||||
to='hag66@shakespeare.lit/pda'
|
||||
type='result'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#items'
|
||||
node='http://jabber.org/protocol/muc#rooms'/>
|
||||
node='http://jabber.org/protocol/muc#rooms'>
|
||||
<item jid='darkcave@chat.shakespeare.lit'/>
|
||||
<item jid='characters@conference.shakespeare.lit'/>
|
||||
</query>
|
||||
|
14
xep-0060.xml
14
xep-0060.xml
@ -813,9 +813,7 @@ And by opposing end them?
|
||||
id='meta1'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info'
|
||||
node='blogs'>
|
||||
...
|
||||
<identity category='pubsub' type='collection'/>
|
||||
...
|
||||
</query>
|
||||
</iq>
|
||||
]]></example>
|
||||
@ -858,7 +856,7 @@ And by opposing end them?
|
||||
to='francisco@denmark.lit/barracks'
|
||||
id='meta1'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info'
|
||||
node='princely_musings'/>
|
||||
node='princely_musings'>
|
||||
<identity category='pubsub' type='leaf'/>
|
||||
<feature var='http://jabber.org/protocol/pubsub'/>
|
||||
<x xmlns='jabber:x:data' type='result'>
|
||||
@ -3078,6 +3076,16 @@ And by opposing end them?
|
||||
<li>Create a node with default configuration for the specified node type.</li>
|
||||
<li>Create and configure a node simultaneously.</li>
|
||||
</ol>
|
||||
<example caption='Request to create a node'><![CDATA[
|
||||
<iq type='set'
|
||||
from='hamlet@denmark.lit/elsinore'
|
||||
to='pubsub.shakespeare.lit'
|
||||
id='create1'>
|
||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||
<create node='princely_musings'/>
|
||||
</pubsub>
|
||||
</iq>
|
||||
]]></example>
|
||||
<p>These methods, along with method-specific error conditions, are explained more fully in the following sections.</p>
|
||||
<p>In addition to method-specific error conditions, there are several general reasons why the node creation request might fail:</p>
|
||||
<ul>
|
||||
|
@ -94,7 +94,7 @@
|
||||
<example caption='A notification (new item)'><![CDATA[
|
||||
<message from='chat.shakespeare.lit' to='bill@shakespeare.lit' id='foo'>
|
||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||
<items node='http://jabber.org/protocol/disco#items'/>
|
||||
<items node='http://jabber.org/protocol/disco#items'>
|
||||
<item id='ae890ac52d0df67ed7cfdf51b644e901'>
|
||||
<item xmlns='http://jabber.org/protocol/disco#items'
|
||||
jid='henry-the-fifth@chat.shakespeare.lit'/>
|
||||
|
@ -215,7 +215,7 @@
|
||||
<example caption="Interim notifications"><![CDATA[
|
||||
<message from='chat.shakespeare.lit' to='bill@shakespeare.lit' id='foo'>
|
||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||
<items node='http://jabber.org/protocol/disco#items'/>
|
||||
<items node='http://jabber.org/protocol/disco#items'>
|
||||
<item id='ae890ac52d0df67ed7cfdf51b644e901'>
|
||||
<item xmlns='http://jabber.org/protocol/disco#items'
|
||||
jid='henry-the-fifth@chat.shakespeare.lit'>
|
||||
@ -228,7 +228,7 @@
|
||||
|
||||
<message from='chat.shakespeare.lit' to='bill@shakespeare.lit' id='bar'>
|
||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||
<items node='http://jabber.org/protocol/disco#items'/>
|
||||
<items node='http://jabber.org/protocol/disco#items'>
|
||||
<retract id='fa890ca52d0df67de7fcfd51b644c701'>
|
||||
<item xmlns='http://jabber.org/protocol/disco#items'
|
||||
jid='cardenio@chat.shakespeare.lit'>
|
||||
@ -246,7 +246,7 @@
|
||||
<example caption="A subsequent notification"><![CDATA[
|
||||
<message from='chat.shakespeare.lit' to='bill@shakespeare.lit' id='baz'>
|
||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||
<items node='http://jabber.org/protocol/disco#items'/>
|
||||
<items node='http://jabber.org/protocol/disco#items'>
|
||||
<retract id='fa890ca52d0df67de7fcfd51b644c701'>
|
||||
<item xmlns='http://jabber.org/protocol/disco#items'
|
||||
jid='darkcave@chat.shakespeare.lit'>
|
||||
|
Loading…
Reference in New Issue
Block a user