Brett Zamir wrote: > In Pubsub XEP-0060, in example 113, for a request to create a node, > there is this: > > <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> > > > However, just above, it states: > > "There are two ways to create a node: > > 1. Create a node with default configuration for the specified > node type. > 2. Create and configure a node simultaneously." > > Since all of the examples show an empty <config/> being added to use > default configuration, I believe the above example should include some > kind of place-holder for <config/> (which could represent an empty > <config/> or one with content), since I understand that <create/> cannot > be sent (with 'set') by itself.
We had a discussion about this recently on the [EMAIL PROTECTED] list: http://mail.jabber.org/pipermail/pubsub/2008-October/000014.html Conclusion: the spec is misleading on this point. I have not yet cleaned up the spec, but given that I have a number of other errata to process, I'll try to get to this soon. Peter -- Peter Saint-Andre https://stpeter.im/
