- Fixed recursion bug in XML case