[BZ 1150624] Avoid DTD retrieval even if the DOM has it. Also avoid parsing logic to determine if the dtd is on the document; let the transformer handle that at output time.