[jdev] Pubsub questions

Matt Tucker matt at jivesoftware.com
Tue Jan 31 15:29:07 CST 2006


Hello all,

A couple of pubsub questions:

1) In section "14.4.3 pubsub#node_config FORM_TYPE" the fields
"pubsub#collection" and "pubsub#node_type" are defined. They both seem
to be asking the same question -- whether a node is a leaf or a
collection. What's the difference between the two fields? Should one be
used over another?

2) The standard data form has options to set the node type to either be
a collection or leaf (see question #1). So... is it legal to change a
node from a leaf to a collection or vice vera after it's been created?
If this isn't allowed, what error code should be returned --
<forbidden/>? Switching the node type could be a pretty expensive
operation. 

Thanks!
-Matt



More information about the JDev mailing list