When one sets validation to 1 without also setting load_ext_dtd to 1, the document is always regarded as valid. References: https://github.com/shlomif/perl-XML-LibXML/issues/71
Created perl-XML-LibXML tracking bugs for this issue: Affects: fedora-all [bug 2053166]