Modified XmlStrategy code to appease scrutinizer-ci