nsresult rv;
nsCOMPtr<nsIAtom> localName; const nsDependentSubstring& nameSpaceURI = SplitExpatName(aName, getter_AddRefs(localName));
RDFContentSinkImpl::OpenRDF(const PRUnichar* aName){    // ensure that we're actually reading RDF by making sure that the    // opening tag is <rdf:RDF>, where "rdf:" corresponds to whatever    // they've declared the standard RDF namespace to be.    nsresult rv;    nsCOMPtr<nsIAtom> tag;    const char* nameSpaceURI;    rv = ParseTagString(aName, &nameSpaceURI, getter_AddRefs(tag));    if (NS_FAILED(rv)) return rv;    if ((nameSpaceURI && 0 != PL_strcmp(nameSpaceURI, kRDFNameSpaceURI))        || (tag.get() != kRDFAtom)) {       // PR_LOG(gLog, PR_LOG_ALWAYS,       //        ("rdfxml: expected RDF:RDF at line %d",       //         aNode.GetSourceLineNumber()));        return NS_ERROR_UNEXPECTED;    }    PushContext(nsnull, mState, mParseMode);    mState = eRDFContentSinkState_InDocumentElement;    return NS_OK;}