rv = CommonInit(); if (NS_FAILED(rv))	return(rv);
if (! mDataSource) return NS_ERROR_UNEXPECTED;
nsHTTPIndex::Init(){	nsresult	rv;	// set initial/default encoding to ISO-8859-1 (not UTF-8)	mEncoding = "ISO-8859-1";	rv = CommonInit();	if (NS_FAILED(rv))	return(rv);	// (do this last) register this as a named data source with the RDF service	rv = mDirRDF->RegisterDataSource(this, PR_FALSE);	if (NS_FAILED(rv)) return(rv);	return(NS_OK);}