Why does Serna create a temporary file for publishing?
This is a simple solution to overcome the DTD resolution problem. The publishing application needs to locate the document DTD, but may not be able to resolve the DTD SYSID. Serna creates a temporary file that has all the entities expanded and default attribute values instantiated. That is why this temporary file does not refer to the DTD and an external application does not face the SYSID problem.