const PRUnichar* atts[] = {name.get(), value.get(), nsnull};;
const PRUnichar* atts[] = {name.get(), value.get(), nsnull};
XULContentSinkImpl::ReportError(const PRUnichar* aErrorText,                                 const PRUnichar* aSourceText){  nsresult rv = NS_OK;  // make sure to empty the context stack so that  // <parsererror> could become the root element.  while (mContextStack.Depth()) {    nsVoidArray* children;    rv = mContextStack.GetTopChildren(&children);    if (NS_SUCCEEDED(rv)) {      for (PRInt32 i = children->Count() - 1; i >= 0; --i) {        nsXULPrototypeNode* child =            NS_REINTERPRET_CAST(nsXULPrototypeNode*, children->ElementAt(i));        delete child;      }    }    State state;    mContextStack.Pop(&state);  }  mState = eInProlog;  NS_NAMED_LITERAL_STRING(name, "xmlns");  NS_NAMED_LITERAL_STRING(value, "http://www.mozilla.org/newlayout/xml/parsererror.xml");  const PRUnichar* atts[] = {name.get(), value.get(), nsnull};;      rv = HandleStartElement(NS_LITERAL_STRING("parsererror").get(), atts, 1, -1, 0);  NS_ENSURE_SUCCESS(rv,rv);  rv = HandleCharacterData(aErrorText, nsCRT::strlen(aErrorText));  NS_ENSURE_SUCCESS(rv,rv);      const PRUnichar* noAtts[] = {0, 0};  rv = HandleStartElement(NS_LITERAL_STRING("sourcetext").get(), noAtts, 0, -1, 0);  NS_ENSURE_SUCCESS(rv,rv);    rv = HandleCharacterData(aSourceText, nsCRT::strlen(aSourceText));  NS_ENSURE_SUCCESS(rv,rv);    rv = HandleEndElement(NS_LITERAL_STRING("sourcetext").get());  NS_ENSURE_SUCCESS(rv,rv);     rv = HandleEndElement(NS_LITERAL_STRING("parsererror").get());  NS_ENSURE_SUCCESS(rv,rv);  return rv;}