For malicious loops: I seem to remember that Xalan had an optional parameter which set a maximum recursion depth. Not sure offhand if it's still there, but it's the first thing I'd look for.
______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html)