I have an assignment to validate and read contents from a xml file. I\'ve done a parser and validated the file by copying it into a string and reading it, that works by iter