Xmlvalidatingreader schema

The Xml Validating Reader class is an implementation of the Xml Reader class that provides support for several types of XML validation: Document Type Definitions (DTD), XML-Data Reduced (XDR) schemas, and XML Schemas (XSD).

Each validation error found along the way results in an particular event being notified to the caller application.

Error indicates that a serious validation error occurred when processing the document against a DTD, XDR or a XSD schema.

If the current instance of the Xml Validating Reader class has no validation event handler set, then an exception is thrown.

Typically, a warning is raised when there is no DTD, XDR or XSD schema to validate a particular element or attribute against.

Unlike errors, warnings do not throw an exception if no validation event handler has been set.

Leave a Reply