VALIDATION-ENABLED attribute

Indicates whether the parser validates the XML document against the DTD.

Data type: LOGICAL

Access: Readable/Writable

Applies to: SAX-reader object handle

TRUE indicates that the parser validates the XML document against the DTD. The default is TRUE. Validation errors are caught in a callback event procedure named error. If this callback procedure is not implemented, then validation errors cannot be caught.

Note: If VALIDATION-ENABLED is FALSE, the parser still checks that the XML document is well formed.