Support external DTDs in descriptor when using Java8.