wtf is going on with this xml parsing

I have been trying different things to try skip errors caused by
unreadable characters in the xml documents I am trying to parse