Avoid warnings if xml file is invalid