private static void XmlSchemaValidation(object sender, ValidationEventArgs e) { Console.WriteLine("Validation error: {0}", e.Message); }