[Standards-JIG] Pubsub questions

Ralph Meijer jabber.org at ralphm.ik.nu
Sat Feb 18 15:17:16 UTC 2006

On Thu, Feb 02, 2006 at 10:31:34AM -0700, Peter Saint-Andre wrote:
> > 3) Users can subscribe to the Root Collection Node just like any other
> > node. So, if the Root Collection Node is a special type of Node then is
> > it also possible to configure the Root Collection Node? 
> I don't see why not. E.g., a sysadmin might modify the rules for the
> root collection node to send only notifications and not send payloads
> (since sending payloads could get awfully expensive in terms of bandwidth).
> > If yes, then how
> > can we distinguish a "8.3 Request Default Configuration Options" from a
> > "Get the root collection node configuration" request? 
> Heh, that's a good catch. :-)
> I'm not sure how to handle that yet.
> If we continue to use <configure/> to retrieve the default config
> options, then the only solutions I can think of involve special-casing
> or hardcoded node names like "root" or "default".
> Another option is to change the syntax for retrieving the default node
> configuration options, to something like this:
> <iq type='get'
>     from='hamlet at denmark.lit/elsinore'
>     id='def1'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
>     <default/>
>   </pubsub>
> </iq>

Hmm, yes. In that case, the type attribute can move to this new element
name, too.



More information about the Standards mailing list