XML DOM strictErrorChecking Property
Definition and Usage
The strictErrorChecking property can set or return whether to enforce error checking (error-checking).
After setting to false, the implementation will not test for each possible error condition. This property is set to true by default.
Syntax:
documentObject.strictErrorChecking
Example
In all examples, we will use XML files books.xml, and JavaScript function loadXMLDoc().
The following code snippet can return whether error checking is set to enforce:
xmlDoc=loadXMLDoc("books.xml");
var errCheck=xmlDoc.strictErrorChecking
;
document.write(errCheck);
Output:
true