+ private ArrayList _validationErrors = new ArrayList();\r
+\r
+ private void valReader_ValidationEventHandler(object sender, ValidationEventArgs e)\r
+ {\r
+ this._validationErrors.Add( e.Message );\r
+ }\r
+\r
+ private string _xsdPathNombre = null;\r
+ private string XsdPathNombre\r
+ {\r
+ get \r
+ { \r
+ if ( this._xsdPathNombre == null )\r
+ {\r
+ string currentDir = Directory.GetCurrentDirectory();\r
+ string xsdPath = Path.Combine( currentDir, ConfigurationSettings.AppSettings["DirectorioRecursos"] );\r
+ if ( ! Directory.Exists(xsdPath) )\r
+ {\r
+ Directory.CreateDirectory( xsdPath );\r
+ }\r
+\r
+ return ( Path.Combine( xsdPath, "infoPrestaciones_schema.xsd" ) );\r
+ }\r
+ else\r
+ return this._xsdPathNombre;\r
+ }\r
+ }\r
+\r