issue 2252 option to disallow DTDs

Fix for z3950 repositories initialization