Changed validate_xml per #98.