This includes the Name Table to use, encoding, namespace scope, the current xml:lang and the xml:space scope.This constructor can handle strings returned from Xml Validating Reader. The following table lists valid values for frag Type and how the reader parses each of the different node types. Auto) the Xml Parser Context specified in the constructor must supply all the necessary Document Type information.
None set, this validating reader also ignores whitespace.
When external DTDs or schemas are needed for validation the Xml Validating Reader.
All nodes returned from the given Xml Reader are also returned from this validating reader, so there is no information loss in the process.
New nodes not returned from the underlying reader may be added by this reader (for example, default attributes and the children of an entity reference).
There are no add-ons required, such as the MSXML Parser or the SOAP Toolkit.
Xml Validating Reader implements the Xml Reader class and provides support for data validation. Schemas property to have the reader validate using schema files cached in an Xml Schema Collection. Validation Type property specifies what type of validation the reader should perform. To read XML data from an Xml Node, use Xml Node Reader.
If this reader will be validating using DTD (that is, Xml Validating Reader. Note It is not possible to validate a fragment using DTD.
By definition DTD requires an entire document to be loaded for validation.
If this reader will be validating using XML-Data Reduced (XDR) or XML Schema definition language (XSD) schemas, use the Xml Validating Reader.
Schemas property to specify the Xml Schema Collection containing the schemas (that is, the Xml Parser Context does not need to supply the Document Type information).
This includes the Xml Name Table to use, encoding, namespace scope, the current xml:lang and the xml:space scope.