[#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. == Synopsis Declared in `<balxml_validatingreader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void enableValidation(bool validationFlag) = 0; ---- == Description If the specified `validationFlag` is true, enable validation; 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. == Parameters [cols="1,4"] |=== | Name| Description | *validationFlag* | `true` to enable validation, `false` to disable it |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#