http://qs321.pair.com?node_id=879792


in reply to Re^2: Deep recursion error using LibXML
in thread Deep recursion error using LibXML

I typically do following steps in such situation:

1. Write the simplest code to product the same effect (warning in your case). You would exactly know which part of the code warns you.

2. Write the simplest data to product the same effect. Perhaps one element with deepish descendants could proof your idea.

Replies are listed 'Best First'.
Re^4: Deep recursion error using LibXML
by Anonyrnous Monk (Hermit) on Dec 30, 2010 at 14:49 UTC

    In addition (and usually before doing what you suggested) I would google for the message to see if it's maybe a known bug, and the problem might perhaps be solved by simply installing a newer version.  Even if this doesn't lead to an immediate solution, you'll often find related discussion which gives new ideas what to try.

    I'm not saying this is necessarily the case here, just advocating the heuristic in general... (seems obvious, but I still often find it not being heeded)