Not getting internal DTD in written xml.