return NS_NewDOMDocumentType(aReturn, aQualifiedName, nsnull, nsnull,
nsCOMPtr<nsIAtom> name = do_GetAtom(aQualifiedName); NS_ENSURE_TRUE(name, NS_ERROR_OUT_OF_MEMORY);  return NS_NewDOMDocumentType(aReturn, name, nsnull, nsnull,
nsDOMImplementation::CreateDocumentType(const nsAString& aQualifiedName,                                        const nsAString& aPublicId,                                        const nsAString& aSystemId,                                        nsIDOMDocumentType** aReturn){  NS_ENSURE_ARG_POINTER(aReturn);  return NS_NewDOMDocumentType(aReturn, aQualifiedName, nsnull, nsnull,                               aPublicId, aSystemId, nsString());}