473,320 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to validate an xml file against xsd in whidbey

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.
--
ravib
Nov 17 '05 #1
2 4382
Ravi wrote:
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/a...us,vs.80).aspx

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 17 '05 #2
Thanks for the information..

Cheers
Ravi

"Joerg Jooss" wrote:
Ravi wrote:
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/a...us,vs.80).aspx

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Leona | last post by:
Hello all, does anyone know of a tool, preferably free, preferably on linux, which will take an xml file and validate it against your own custom W3C XML Schema file (.xsd) ?? All help...
1
by: Ron Rohrssen | last post by:
I've been working on learning XML schemas and trying to make use of the MS classes for validating data against a schema. So, I've been trying to work through some simple schemas and instances....
1
by: aevans1108 | last post by:
Greetings All If this is the wrong place to post this question, please give me a push in the right direction. Thanks. I know there has to be a simpler way to do this, but this is as simple a...
7
by: Ali-R | last post by:
Hi all, I am getting a CSV file like this from our client: "C1","2","12344","Mr","John","Chan","05/07/1976"......... I need to validate **each filed value** against a set of rules ,for...
4
by: Mr. x | last post by:
Hello, I know about the validator on : http://validator.w3.org , which can validate html pages. I just new to this validator. How can I validate (if it can be - by this validator) aspx pages,...
3
by: Rushi | last post by:
Hi All, Is it possible to Validate XML against XSD using two different XML files. scenario: There are two different XML file, one file contain element and count information and other one...
6
by: Jonny | last post by:
Hi, I'm trying to validate my xml against a xsd but I can't get it to work. Originally, I wanted to validate an xml string but since I didn't get that to work I tried to validate an xml file...
0
by: anupam roy | last post by:
Hi, I have created my own XML text editor and using XmlReader to read the xml files I have opened one xml file for editing in the text box editor( i have . Now before saving the file, i want to...
2
by: hrishy | last post by:
Hi Does anybody have a python xample program to validate a xml file against a XSD. regards Hrisy
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.