From 4cfb068297d9d38f7705ccf9e22b30d0a0148036 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Mon, 22 Feb 2010 03:43:55 +0000 Subject: [PATCH] corrected examples git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3959 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0024.xml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/xep-0024.xml b/xep-0024.xml index 86f2c83f..ec6a4424 100644 --- a/xep-0024.xml +++ b/xep-0024.xml @@ -182,31 +182,27 @@ A subscription request generally takes this form: SEND: <iq type='set' from='subscriber' to='pubsub' id='s1'> <query xmlns='jabber:iq:pubsub'> - <subscribe [to='publisher']> - [<ns>namespace:1</ns> + <subscribe to='publisher'> + <ns>namespace:1</ns> <ns>namespace:2</ns> ... - <ns>namespace:N</ns>] + <ns>namespace:N</ns> </subscribe> </query> </iq> RECV: <iq type='result' to='subscriber' from='pubsub' id='s1'> <query xmlns='jabber:iq:pubsub'> - <subscribe [to='publisher']> - [<ns>namespace:1</ns> + <subscribe to='publisher'> + <ns>namespace:1</ns> <ns>namespace:2</ns> ... - <ns>namespace:N</ns>] + <ns>namespace:N</ns> </subscribe> </query> </iq> -

-Note - sections inside [...] are optional. -

-