O'Reilly logo

Applied XML Programming for Microsoft® .NET by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Under the Hood of the Validation Process

Before going any further with the details of DTD, XDR, and XSD validation, let’s review what happens under the hood of the validation process and how the XmlValidatingReader class really operates.

As mentioned, a validating reader works on top of a less-specialized reader, typically an XML text reader. You initialize the validating reader simply by passing a reference to this object. Upon initialization, the validating reader copies a few settings from the underlying reader. In particular, the properties BaseURI, Normalization, and WhiteSpaceHandling get the same values as the underlying reader. During the initialization step, an internal validator object is created to manage the schema information on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required