When I try to create an application with C #, this method gave me a warning
//get validator XmlValidatingReader xmlValidator = new XmlValidatingReader(new FileStream(xmlfile,FileMode.Open), XmlNodeType.Document,psContext);
and
//compile to load schema elements schema.Compile(new ValidationEventHandler(ValidationCallback));
I am using VS 2008 with the .NET Framework 3.5 to implement this.
Please give me the correct way to do this.
source share