Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What does XmlValidatingReader class do
What does XmlValidatingReader class do?
✍: Guest
XmlTextReader class does not validate the contents of an XML source against a schema.
The correctness of XML documents can be measured by two things is the document well
formed and is it valid. Well-formed means that the overall syntax is correct. Validation is
much deeper which means is the XML document is proper w.r.t schema defined.
So the XmlTextReader only checks if the syntax is correct but does not do validation.
There’s where XmlValidatingReader class comes in to picture. So this again comes at a
price as XmlValidatingReader have to check for DTD and Schema’s there are slower
compared to XmlTextReader.
2007-10-31, 7009👍, 0💬
Popular Posts:
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... ...
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written...
Can event’s have access modifiers ? Event’s are always public as they are meant to serve every one r...
What is the FP per day in your current company?