const PRUnichar *strings[] = { submissionID.get(), submission.get() }; nsXFormsUtils::ReportError(NS_LITERAL_STRING("idRefError"), strings, 2, mElement, mElement);
nsXFormsSendElement::HandleAction(nsIDOMEvent* aEvent,                                  nsIXFormsActionElement *aParentAction){  if (!mElement)    return NS_OK;  NS_NAMED_LITERAL_STRING(submission, "submission");  nsAutoString submissionID;  mElement->GetAttribute(NS_LITERAL_STRING("submission"), submissionID);  if (submissionID.IsEmpty())    return NS_OK;  nsCOMPtr<nsIDOMDocument> doc;  mElement->GetOwnerDocument(getter_AddRefs(doc));  if (!doc)    return NS_OK;  nsCOMPtr<nsIDOMElement> el;  doc->GetElementById(submissionID, getter_AddRefs(el));  if (!el || !nsXFormsUtils::IsXFormsElement(el, submission)) {    return nsXFormsUtils::DispatchEvent(mElement, eEvent_BindingException);  }    return nsXFormsUtils::DispatchEvent(el, eEvent_Submit);}