The scheduler is not outputting the xml file correctly.