set parser to validate dtd