> > ...I recently heard a very good statement from Neal Ford [0]: "XML should > > be deprecated"... > > ROFL - nevertheless, if someone creates a patch to support an XML > default rendering (with tests) I guess we' accept it. sure. the problem is that anything else than JCR docview or JCR system view does not make sense. so it would be convenient to use the export API of JCR.
however, the same 'depth' limitations should be applied to XML export as to JSON, so a request to /foo.xml should only export 1 level. hence, the provided exporters can not be used. if we gonna provide this, i suggest the following syntax: <path>.<level>.<type>.xml where level is the depth of the export, and type is either 'docview' or 'sysview' with 'sysview' as default. regards, toby