nsresult                  rv;
nsresult                  rv = NS_OK;
nsHTTPIndexParser::ParseLiteral(nsIRDFResource *arc, const nsString& aValue, nsIRDFNode** aResult){    nsresult                  rv;    nsCOMPtr<nsIRDFLiteral>   result;    if (arc == kHTTPIndex_Filename)    {        // strip off trailing slash(s) from directory names        PRInt32	len = aValue.Length();        if (len > 0)        {            if (aValue[len - 1] == '/')            {                nsAutoString  temp(aValue);                temp.SetLength(len - 1);                rv = gRDF->GetLiteral(temp.GetUnicode(), getter_AddRefs(result));            }        }    }    if (!result)    {        rv = gRDF->GetLiteral(aValue.GetUnicode(), getter_AddRefs(result));    }    if (NS_FAILED(rv)) return rv;    return result->QueryInterface(NS_GET_IID(nsIRDFNode), (void**) aResult);}