allow DOCTYPE declaration

see http://xerces.apache.org/xerces2-j/features.html#disallow-doctype-decl

example for breaking build due to doctype checking: https://travis-ci.org/gesellix-docker/gradle-docker-plugin/builds/27949346