Home > DeveloperSection > Interviews > What does XmlValidatingReader class do?

Posted on    April-02-2013 3:16 AM

 XML XML 
Ratings:
 1 Answer(s)
  1359  View(s)
Rate this:

Vijay Shukla

Total Post:81

Points:405
Posted on    April-02-2013 12:00 AM

XmlValidatingReader represents a reader that provide document type definition (DTD), XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) validation.

XmlValidatingReader implements the XmlReader class and provide support for data validation. Use the Schemas property to have the reader validate by using schema files that are cached in an XmlSchemaCollection. The ValidationType property specifies what type of validation the reader should perform. Setting the property to ValidationType.None creates a non-validating reader.


Don't want to miss updates? Please click the below button!

Follow MindStick