mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
e79198b2b1
commit
8f3afbc633
@ -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…
Reference in New Issue
Block a user