mNameSpaceManager = aNameSpaceManager; NS_ADDREF(mNameSpaceManager);  nsresult rv; if (NS_FAILED(rv = nsServiceManager::GetService(kRDFServiceCID, kIRDFServiceIID, (nsISupports**) &mRDFService))) return rv;
RDFContentSinkImpl::Init(nsIURI* aURL){    NS_PRECONDITION(aURL != nsnull, "null ptr");    if (! aURL)        return NS_ERROR_NULL_POINTER;    mDocumentURL = aURL;    NS_ADDREF(aURL);    mState = eRDFContentSinkState_InProlog;    return NS_OK;}