[#BloombergLP-balxml-ValidatingReader-enableValidation] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ValidatingReader.adoc[ValidatingReader]::enableValidation :relfileprefix: ../../../ :mrdocs: Enable or disable XML validation, if the specified `validationFlag` is true and disable it otherwise. A validating reader is often faster if validation is disabled. This operation does not take effect until the next call to the `open` method. == Synopsis Declared in `<balxml_validatingreader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void enableValidation(bool validationFlag) = 0; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#