Sets the System.Xml.XmlResolver used for resolving external document type definition (DTD) and schema location references. The XmlResolver is also used to handle any import or include elements found in XML Schema definition language (XSD) schemas.
Documentation for this section has not yet been entered.
The System.Xml.XmlValidatingReader class is obsolete in dnprdnext. You can create a validating System.Xml.XmlReader instance by using the System.Xml.XmlReaderSettings class and the erload:System.Xml.XmlReader.Create method. For more information, see Validating XML Data with XmlReader.
The XmlResolver is used to load any DTDs, entities, or schemas needed to complete the validation process.
This property can be set at any time and takes affect after the next XmlValidatingReader.Read call. If this property is set to null, the reader assumes the user is not interested in resolving external references. In this case, the reader only validates against internal resources, if the resource is present.
In version 1.1 of dnprdnshort , if this property is not set, the trust level of the application determines the default behavior.
Fully trusted code: The reader uses a default System.Xml.XmlUrlResolver with no user credentials. If authentication is required to access a network resource, use the XmlResolver property to specify an XmlResolver with the necessary credentials.
Semi-trusted code: The XmlResolver property is set to null. External resources are not resolved.
When validating using schemas, you can avoid the expensive load process by providing an System.Xml.Schema.XmlSchemaCollection using the XmlValidatingReader.Schemas property.