how to validate an xml file against xsd in whidbey

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.
 
J

Joerg Jooss

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top