mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
bug 466378, rdf:nodeID not working when node appears as object before as subject in RDF/XML source, patch=mininet@wanadoo.fr, r=me, sr=shaver, a1.9.1=beltzner
This commit is contained in:
parent
4810a8ace6
commit
515193d0fd
@ -994,8 +994,12 @@ RDFContentSinkImpl::GetResourceAttribute(const PRUnichar** aAttributes,
|
||||
mNodeIDMap.Get(nodeID,aResource);
|
||||
|
||||
if (!*aResource) {
|
||||
nsresult rv;
|
||||
rv = gRDFService->GetAnonymousResource(aResource);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
mNodeIDMap.Put(nodeID,*aResource);
|
||||
return gRDFService->GetAnonymousResource(aResource);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user