Hi, I think to have found a small miss in the XEP-0060 (pubsub). The Example 89 is called "Publisher publishes an item with an ItemID"... But it has no item id!
The example is: > <iq type='set' from='[EMAIL PROTECTED]/blogbot' > to='pubsub.shakespeare.lit' id='publish1'> > <pubsub xmlns='http://jabber.org/protocol/pubsub'> > <publish node='princely_musings'> > <item> > <entry xmlns='http://www.w3.org/2005/Atom'> > <title>Soliloquy</title> > <summary> To be, or not to be: that is the question: Whether 'tis > nobler in the mind to suffer The slings and arrows of outrageous > fortune, Or to take arms against a sea of troubles, And by opposing end > them? </summary> > <link rel='alternate' type='text/html' > href='http://denmark.lit/2003/12/13/atom03'/> > <id>tag:denmark.lit,2003:entry-32397</id> > <published>2003-12-13T18:30:02Z</published> > <updated>2003-12-13T18:30:02Z</updated> > </entry> > </item> > </publish> > </pubsub> > </iq> According to the text just before: > The <item/> element provided by the publisher MAY possess an 'id' > attribute, specifying a unique ItemID for the item. If an ItemID is not > provided in the publish request, the pubsub service MUST generate one > and MUST ensure that it is unique for that node. I guess it should be: > <iq type='set' from='[EMAIL PROTECTED]/blogbot' > to='pubsub.shakespeare.lit' id='publish1'> > <pubsub xmlns='http://jabber.org/protocol/pubsub'> > <publish node='princely_musings'> > <item id="some_id"> > <entry xmlns='http://www.w3.org/2005/Atom'> > <title>Soliloquy</title> > <summary> To be, or not to be: that is the question: Whether 'tis > nobler in the mind to suffer The slings and arrows of outrageous > fortune, Or to take arms against a sea of troubles, And by opposing end > them? </summary> > <link rel='alternate' type='text/html' > href='http://denmark.lit/2003/12/13/atom03'/> > <id>tag:denmark.lit,2003:entry-32397</id> > <published>2003-12-13T18:30:02Z</published> > <updated>2003-12-13T18:30:02Z</updated> > </entry> > </item> > </publish> > </pubsub> > </iq> Jehan -- Jehan ------------------------------------------------------------------------ Jehan's Profile: http://www.jabberforum.org/member.php?userid=16911 View this thread: http://www.jabberforum.org/showthread.php?t=1106
