validate (property)
When True, the parser checks that the document consists of well-formed XML.
Syntax
@property (nonatomic,readwrite,assign,getter=validate,setter=setValidate:) BOOL validate; - (BOOL)validate; - (void)setValidate:(BOOL)newValidate;
public var validate: Bool { get {...}
set {...} }
Default Value
TRUE
Remarks
You can set Validate to False when you want to ignore XML format rules (e.g. while parsing HTML files).