if ( NS_FAILED(status = docv->BindToDocument(doc, aCommand)) )
if ( NS_FAILED(status = docv->LoadStart(doc)) )
nsContentDLF::CreateXULDocumentFromStream(nsIInputStream& aXULStream,                                         const char* aCommand,                                         nsISupports* aContainer,                                         nsISupports* aExtraInfo,                                         nsIContentViewer** aDocViewer){  nsresult status = NS_OK;#if 0 // XXX dead code; remove  do  {    nsCOMPtr<nsIDocument> doc;    nsCOMPtr<nsIDocumentViewer> docv;    if ( NS_FAILED(status = CreateRDFDocument(aExtraInfo, address_of(doc), address_of(docv))) )      break;    if ( NS_FAILED(status = docv->BindToDocument(doc, aCommand)) )      break;    *aDocViewer = docv;    NS_IF_ADDREF(*aDocViewer);    nsCOMPtr<nsIStreamLoadableDocument> loader = do_QueryInterface(doc, &status);    if ( NS_FAILED(status) )      break;    status = loader->LoadFromStream(aXULStream, aContainer, aCommand);  }  while (0);#endif  return status;}