validate Property
When True, the parser checks that the document consists of well-formed XML.
Syntax
def get_validate() -> bool: ... def set_validate(value: bool) -> None: ...
validate = property(get_validate, set_validate)
Default Value
TRUE
Remarks
You can set validate to False when you want to ignore XML format rules (e.g. while parsing HTML files).