return ReportErrorFrom( aErrorText, aSourceText, node );
if (node) { for (;;) { nsCOMPtr<nsIDOMNode> child, dummy; node->GetLastChild(getter_AddRefs(child)); if (!child) break; node->RemoveChild(child, getter_AddRefs(dummy)); } }  return NS_OK;
nsXMLFragmentContentSink::ReportError(const PRUnichar* aErrorText,                                       const PRUnichar* aSourceText){  nsCOMPtr<nsIDOMNode> node(do_QueryInterface(mRoot));  return ReportErrorFrom( aErrorText, aSourceText, node );}