Bertrand Delacretaz wrote:
> On Wed, Nov 18, 2009 at 4:54 PM, Carsten Ziegeler <[email protected]> 
> wrote:
>> ...the xml renderer currently just uses the xml export from the
>> repository. Therefore you get the full tree...
> 
> Note that that's not really by design, it's more like we left the
> implementation of controlled depth for later...the XMLRendererServlet
> [1] simply uses the JCR Session exportDocumentView/exportSystemView
> methods, which don't support depth limitation.
> 
> Those methods do support "no recursion at all" though, so we could at
> least implement this based on a selector like for json.
> 
I think we should rather go for an xml generation that is resource based
and works like the json stuff. This way we don't have any limitations
(like some parts of the resource tree are not renderable as xml) and can
easily apply the same algorithm as for the json output.

Carsten
-- 
Carsten Ziegeler
[email protected]

Reply via email to