Xmlvalidatingreader is obsolete vb net

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.

When Entity Handling is set to Expand Char Entities, attribute values are only partially normalized.

The reader normalizes each individual text node independently from the content of adjacent entity reference nodes.

Represents a reader that provides document type definition (DTD), XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) validation. The Xml Resolver is also used to handle any import or include elements found in XML Schema definition language (XSD) schemas.

You're code will continue to run, it's just not the preferred approach for using validating readers in . Check out the beta docs at -- i was using xmlvalidatingreader in .Checks whether the current node is a content (non-white space text, CDATA, Element, End Element, Entity Reference, or End Entity) node.If the node is not a content node, the reader skips ahead to the next content node or end of file.If an element reports a validation error, the rest of the content model for that element is not validated, however, its children are validated.The reader only reports the first error for a given element.

Leave a Reply