зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4810a8ace6
Коммит
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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче