Allow code optimization and empty xml file