if (NS_FAILED(rv = result->SetAttribute(kNameSpaceID_RDF, kIdAtom, uri, PR_FALSE)))
if (NS_FAILED(rv = result->SetAttribute(kNameSpaceID_None, kIdAtom, uri, PR_FALSE)))
RDFTreeBuilderImpl::CreateResourceElement(PRInt32 aNameSpaceID,                                          nsIAtom* aTag,                                          nsIRDFResource* aResource,                                          nsIContent** aResult){    nsresult rv;    nsCOMPtr<nsIContent> result;    if (NS_FAILED(rv = NS_NewRDFElement(aNameSpaceID, aTag, getter_AddRefs(result))))        return rv;    const char* uri;    if (NS_FAILED(rv = aResource->GetValue(&uri)))        return rv;    if (NS_FAILED(rv = result->SetAttribute(kNameSpaceID_RDF, kIdAtom, uri, PR_FALSE)))        return rv;    *aResult = result;    NS_ADDREF(*aResult);    return NS_OK;}