Fixed DTD validation