The following code gives a ‘stack level too deep’ error message when run on the attached data file:
From Mike Woodhouse (at old lighthouse project):
I tried that with 0.1.6 and didn’t get the error, which was good.
Recursive structures still don’t work properly, though: in Steve’s example, the Taxonomy object gets 4 Nodes: the single “parent” one and the three “children”. The parent does also get the children as you’d expect.
I’d already found this trying to write a script to play with my Google Reader OPML, which has some recursion of elements. See http://pastie.org/366720 , which shows where I was able to work around the problem by removing higher-level outlines that had no children (which got the desired result in this particular case).