nsnull, nsnull);
&dataSourceHashAllocOps, nsnull);
RDFServiceImpl::Init(){    nsresult rv;    mResources = PL_NewHashTable(1023,              // nbuckets                                 PL_HashString,     // hash fn                                 PL_CompareStrings, // key compare fn                                 PL_CompareValues,  // value compare fn                                 nsnull, nsnull);   // alloc ops & priv    if (! mResources) return NS_ERROR_OUT_OF_MEMORY;    mLiterals = PL_NewHashTable(1023,                                rdf_HashWideString,                                rdf_CompareWideStrings,                                PL_CompareValues,                                nsnull, nsnull);    if (! mLiterals) return NS_ERROR_OUT_OF_MEMORY;    mNamedDataSources = PL_NewHashTable(23,                                        PL_HashString,                                        PL_CompareStrings,                                        PL_CompareValues,                                        nsnull, nsnull);    if (! mNamedDataSources) return NS_ERROR_OUT_OF_MEMORY;    rv = nsComponentManager::FindFactory(kRDFDefaultResourceCID, getter_AddRefs(mDefaultResourceFactory));    NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get default resource factory");    if (NS_FAILED(rv)) return rv;#ifdef PR_LOGGING    if (! gLog)        gLog = PR_NewLogModule("nsRDFService");#endif    return NS_OK;}