rv = node->GetName(getter_Copies(path));
rv = node->GetNameUTF8(getter_Copies(path));
nsRegistryDataSource::SubkeyEnumerator::ConvertRegistryNodeToResource(nsISupports* aRegistryNode,                                                                      nsIRDFResource** aResult){    nsCOMPtr<nsIRegistryNode> node = do_QueryInterface(aRegistryNode);    NS_ASSERTION(node != nsnull, "not a registry node");    if (! node)        return NS_ERROR_UNEXPECTED;    nsresult rv;    const char* rootURI;    rv = mRootKey->GetValueConst(&rootURI);    if (NS_FAILED(rv)) return rv;    nsXPIDLCString path;    rv = node->GetName(getter_Copies(path));    if (NS_FAILED(rv)) return rv;    nsCAutoString newURI(rootURI);    if (newURI.Last() != '/') newURI += '/';    newURI += path;    rv = gRDF->GetResource(newURI, aResult);    if (NS_FAILED(rv)) return rv;    return NS_OK;}