Xmlvalidatingreader is obsolete vb net

08 Nov

NET 1.1, but i was trying to do the same validation in whidbey i am getting this error Warning 11 'System. Xml Validating Reader' is obsolete: 'Use Xml Reader created by Xml Reader. NET 1.1, but i was trying to do the same validation in whidbey i am getting this error Warning 11 'System. Xml Validating Reader' is obsolete: 'Use Xml Reader created by Xml Reader.

Create() method using appropriate Xml Reader Settings instead. linkid=14202' i got to know Xml Validating Reader' is absolete, but how to do the same in whidbey. Create() method using appropriate Xml Reader Settings instead. linkid=14202' i got to know Xml Validating Reader' is absolete, but how to do the same in whidbey.

This property must be set before the first call to Read.

For more information, see the Remarks section of the Xml Reader reference page.

property to guarantee that an XML instance document is validated against a schema.

The Severity property allows you to distinguish between validation errors (Severity is equal to Xml Severity Type.

If the node is not a content node, the reader skips ahead to the next content node or end of file.

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 xml String I am passing into the function is the raw xml which is referencing the XSD schema.

Validation Event Handler, Address Of Validation Call Back Try While (xmlvread.