Validate Property
When True, the parser checks that the document consists of well-formed XML.
Syntax
[VB.NET] Public Property Validate As Boolean
[C#] public bool Validate {get; set;}
Remarks
You can set Validate to False when you want to ignore XML format rules (e.g. while parsing HTML files).
Default Value
True