Update XMLParser.java

Fixed a problem where it can't read the Main Class