On Thu, Aug 07, 2003 at 07:34:57PM +0400, Oleg Broytmann wrote: > "_q_lookup() should return either a string (a complete document that > will be returned to the client) or some object that can be traversed > further." > > What I actually asked was - is documentation correct or _q_lookup > must return a namespace? Documentation is incorrect, _q_lookup > must return a namespace. Thanks for clarification. No, I'm wrong and the documenation is a (mostly) right. If there are more path elements to be consumed then _q_lookup must return a namespace (otherwise you get a TraversalError). If you are looking up the last component of a path then _q_lookup can return either a string or a callable object. Neil