Added checks for DOCTYPE injection in DOM and XMLReader wrappers.