Fixed a bug when creating a new HTML document, doc->children was set to NULL with a DTD child Daniel