nsAutoString	ncURI(uri);
nsAutoString	ncURI; ncURI.AssignWithConversion(uri);
nsBookmarksService::GetTarget(nsIRDFResource* aSource,			      nsIRDFResource* aProperty,			      PRBool aTruthValue,			      nsIRDFNode** aTarget){	nsresult	rv;	// If they want the URL...	if (aTruthValue && aProperty == kNC_URL)	{		// ...and it is in fact a bookmark...		PRBool hasAssertion;		if ((NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_Bookmark, PR_TRUE, &hasAssertion))		    && hasAssertion) ||		    (NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_IEFavorite, PR_TRUE, &hasAssertion))		    && hasAssertion) ||		    (NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_Folder, PR_TRUE, &hasAssertion))		    && hasAssertion))		{			const char	*uri;			if (NS_FAILED(rv = aSource->GetValueConst( &uri )))			{				NS_ERROR("unable to get source's URI");				return rv;			}			nsAutoString	ncURI(uri);			if (ncURI.Find("NC:", PR_TRUE, 0) == 0)			{				return(NS_RDF_NO_VALUE);			}			nsIRDFLiteral* literal;			if (NS_FAILED(rv = gRDF->GetLiteral(nsAutoString(uri).GetUnicode(), &literal)))			{				NS_ERROR("unable to construct literal for URL");				return rv;			}			*aTarget = (nsIRDFNode*)literal;			return NS_OK;		}	}	else if (aTruthValue && isBookmarkCommand(aSource) && (aProperty == kNC_Name))	{		nsAutoString	name;		if (aSource == kNC_BookmarkCommand_NewBookmark)			getLocaleString("NewBookmark", name);		else if (aSource == kNC_BookmarkCommand_NewFolder)			getLocaleString("NewFolder", name);		else if (aSource == kNC_BookmarkCommand_NewSeparator)			getLocaleString("NewSeparator", name);		else if (aSource == kNC_BookmarkCommand_DeleteBookmark)			getLocaleString("DeleteBookmark", name);		else if (aSource == kNC_BookmarkCommand_DeleteBookmarkFolder)			getLocaleString("DeleteFolder", name);		else if (aSource == kNC_BookmarkCommand_DeleteBookmarkSeparator)			getLocaleString("DeleteSeparator", name);		if (name.Length() > 0)		{			*aTarget = nsnull;			nsCOMPtr<nsIRDFLiteral>	literal;			if (NS_FAILED(rv = gRDF->GetLiteral(name.GetUnicode(), getter_AddRefs(literal))))				return(rv);			*aTarget = literal;			NS_IF_ADDREF(*aTarget);			return(rv);		}	}	rv = mInner->GetTarget(aSource, aProperty, aTruthValue, aTarget);	return(rv);}