Skip to content

Commit

Permalink
XML errors in examples
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2349 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information
Peter Saint-Andre committed Oct 8, 2008
1 parent 8bd75fc commit abb4735
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion xep-0045.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@
to='[email protected]/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='[email protected]'/>
<item jid='[email protected]'/>
</query>
Expand Down
14 changes: 11 additions & 3 deletions xep-0060.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -858,7 +856,7 @@ And by opposing end them?
to='[email protected]/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'>
Expand Down Expand Up @@ -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='[email protected]/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>
Expand Down
2 changes: 1 addition & 1 deletion xep-0230.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<example caption='A notification (new item)'><![CDATA[
<message from='chat.shakespeare.lit' to='[email protected]' 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='[email protected]'/>
Expand Down
6 changes: 3 additions & 3 deletions xep-0237.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<example caption="Interim notifications"><![CDATA[
<message from='chat.shakespeare.lit' to='[email protected]' 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='[email protected]'>
Expand All @@ -228,7 +228,7 @@
<message from='chat.shakespeare.lit' to='[email protected]' 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='[email protected]'>
Expand All @@ -246,7 +246,7 @@
<example caption="A subsequent notification"><![CDATA[
<message from='chat.shakespeare.lit' to='[email protected]' 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='[email protected]'>
Expand Down

0 comments on commit abb4735

Please sign in to comment.