Fix errorneous implementation XMLValidator.