[PubSub] create node with default configuration

Peter Saint-Andre stpeter at stpeter.im
Wed Oct 1 22:44:55 CDT 2008


XEP-0060 currently says that if you want to create a pubsub node with
the default configuration, you MUST include an empty <configure/>
element in the node creation request, for example:

<iq type='set'
    from='hamlet at denmark.lit/elsinore'
    to='pubsub.shakespeare.lit'
    id='create1'>
    <pubsub xmlns='http://jabber.org/protocol/pubsub'>
      <create node='princely_musings'/>
      <configure/>
    </pubsub>
</iq>

Ralph Meijer pinged me the other day and suggest that the intention here
was SHOULD, not MUST. What do people think?

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



More information about the PubSub mailing list