The parser based on xml.parsers.expat does not support this feature, because Expat is a non-validating parser.
xml.sax.handler/feature_validation
feature_validation