[Standards-JIG] More pubsub questions

Peter Saint-Andre stpeter at jabber.org
Fri Feb 3 22:01:12 UTC 2006

Hash: SHA1

Peter Saint-Andre wrote:
> Matt Tucker wrote:
>>> Hello all,
>>> First, the new pubsub draft is looking great. It's a lot clearer than
>>> the older versions. However, a few more questions about the spec:
>>> 1) What error should we return when "Creating Nodes Associated with a
>>> Collection" and the provided nodeID of the parent node does not exist?
>>> Should we return an item-not-found error in this case?
> Yes.
>>> 2) What error should we return if the specified parent node ID is a leaf
>>> node? Is a not_acceptable error correct?
> Yes.

Alternatively, the service could provide a list of the collection nodes
(via list-single) so that the owner of the leaf node can't go far wrong
(the node is guaranteed to exist and is guaranteed to be a collection
node). That seems like a smart way to go.

Another potential problem: permissions. How does the service know that I
have sufficient privileges to associate my leaf node with your
collection node? Attaching my nasty leaf node to your nice collection
node would be a fun way to introduce some pubsub spam. :-)

Presumably we also need to specify a way for the owner of a collection
node to de-associate a leaf node from the collection.

Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060203/3cfcba52/attachment.bin>

More information about the Standards mailing list