Net xml validating reader
There are no add-ons required, such as the MSXML Parser or the SOAP Toolkit.
For more information, see the Remarks section of the Xml Reader reference page.
For more information about XML, see the W3C XML 1.0 Recommendation.
For more information about XML Schema, see the W3C XML Schema Part 1: Structures Recommendation and the W3C XML Schema Part 2: Datatypes Recommendation.
The Xml Validating Reader can use the XML Schema (XSD) schema Location attribute in the data file that is bound to the XML Schema instance namespace,
If the schema is stored in an Xml Schema Collection, the Xml Validating Reader uses the namespace URI specified when the schema was added to the collection.
XML Schema definition language (XSD) schema validation is implemented using the validity constraints defined in the World Wide Web Consortium (W3C) XML Schema Recommendation. NET Framework supports the W3C XML Schema 2001 Recommendation. Each XML Schema is associated with a namespace URI.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).The reader only reports the first error for a given element.property to guarantee that an XML instance document is validated against a schema.This property gives the reader access to the cache of schemas and allows it to validate without having to re-load schemas every time.The reader does not add anything to the Xml Schema Collection.For example, the following shows the root element of the data file.To define the structure of an XML document, as well as its element relationships, data types, and content constraints, you use a document type definition (DTD) or schema.As the need for Web-related capabilities grew, ad hoc solutions were crafted as enhancements to existing tools. From the very beginning, the Framework was designed to integrate Web-related programming functionality.Because the Web capabilities were not built into the development tools from the beginning, however, there were inevitable problems with deployment, maintenance, and efficiency. The Framework can be used by any of Microsoft's three programming languages: Visual Basic, C , and C# (pronounced "C sharp").