valgrind bugs
xpath
traversing dom for errors