On 12/6/11 12:16 PM, Florent Le Coz wrote: > I’m taking a closer look at this XEP because I’m wanting to write an XEP > using Collection Nodes, and I have a question: > > Why are Collection nodes not allowed to contain items? I see many > use-cases for it and it doesn’t really introduce any additional > complexity: by doing a disco#items query on a collection node the > service would just return all the children nodes AND items. Items and > nodes can easily be distinguished by looking at the presence or not of > the “node” attribute in each item elements returned. > > This would allow a lot of nice possibilities, like a graph of messages > (similar to a newsgroup message thread, with any level of depth). > > Is there a reason why it is not allowed in the current state of the XEP?
Perhaps because we haven't given it enough thought. Right now I can't quite remember why we did it this way, and I haven't had time to work on XEP-0248 in quite a while. Peter -- Peter Saint-Andre https://stpeter.im/