how to validate an xml file against xsd in whidbey

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

i was using xmlvalidatingreader in .NET 1.1, but i was trying to do the
same validation in whidbey i am getting this error

Warning 11 'System.Xml.XmlValidatingReader' is obsolete: 'Use XmlReader
created by XmlReader.Create() method using appropriate XmlReaderSettings
instead. http://go.microsoft.com/fwlink/?linkid=14202'

i got to know XmlValidatingReader' is absolete, but how to do the same in
whidbey.

Thanks in advance.
 
Ravi said:
Hi,

i was using xmlvalidatingreader in .NET 1.1, but i was trying to do
the same validation in whidbey i am getting this error

Warning 11 'System.Xml.XmlValidatingReader' is obsolete: 'Use
XmlReader created by XmlReader.Create() method using appropriate
XmlReaderSettings instead.
http://go.microsoft.com/fwlink/?linkid=14202'

i got to know XmlValidatingReader' is absolete, but how to do the
same in whidbey.

Reading actually helps ;-)

First of all, this is not an error, just a warning. You're code will
continue to run, it's just not the preferred approach for using
validating readers in .NET 2.0.

Check out the beta docs at
http://msdn2.microsoft.com/library/as3tta56(en-us,vs.80).aspx

Cheers,
 
Back
Top