[Standards-JIG] More pubsub questions

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Saint-Andre wrote:
> Peter Saint-Andre wrote:
>>> Matt Tucker wrote:
>>>>> 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.

Never mind, that won't work, since a collection node is made using
simultaneous create-and-configure and the node creator is not presented
with a form to fill out. So your recommendations on the error codes are
correct.

/psa

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

iD8DBQFD49SXNF1RSzyt3NURAu1zAKCZe6qzhce7sfIbirJMLP0+Xoa4/ACfSuFM
IPnwo+A1xkGAYKojNctQZsE=
=B6nU
-----END PGP SIGNATURE-----
-------------- 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/0483a5e8/attachment.bin>


More information about the Standards mailing list