XML DOM strictErrorCheckingProperty


Document object

Definition and Usage

The strictErrorChecking property sets or returns whether error checking is enforced.

When set to false, the implementation will not test for every possible error condition. This property is set to true by default.

Syntax

documentObject.strictErrorChecking


Example

The following code snippet usesloadXMLDoc()put "books.xml" Load into xmlDoc and return whether error checking is enforced:

Example

xmlDoc=loadXMLDoc("books.xml");

errCheck=xmlDoc.strictErrorChecking;
document.write(errCheck);

Output:

true

Try it Yourself »

Document objectother extensions