XML parsing when comparing now is done properly