Hi, I'm using o.a.s.commons.json.jcr.JsonItemWriter.dump(NodeIterator, Writer), and I'm experiencing that it does not output any nodes. The method calls dumpSingleNode for each node in the iterator, and passes a 0 for maxRecursionLevels, which makes no sense to me.
This is the only place where dumpSingleNode is used. It seems everything works smoothly when replacing JsonItemWriter#76: - dumpSingleNode(it.nextNode(), w, 1, 0); + dump(it.nextNode(), w, 1, 1); Is there a reason why dump(NodeIterator, Writer) calls dumpSingleNode() and not dump()? -- Vidar S. Ramdal <[email protected]> - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway +47 21 531941, ext 2070
