Tests if dynamic error XC0027 is thrown if DTD validation is turned on and the document refers to no DTD.