public bool Validate(string document, out List <string> validationMessages)
        {
            var validationRunner = new XmlValidationRunner(_schemaSet);
            var result           = validationRunner.Validate(document);

            validationMessages = validationRunner.ValidationMessages;
            return(result);
        }
        public bool Validate(string document, out string validationMessage)
        {
            var validationRunner = new XmlValidationRunner(_schemaSet);
            var status           = validationRunner.Validate(document);

            validationMessage = validationRunner.ValidationMessages.ToString();
            return(status);
        }