On selectName, Eric H. Jung wrote: > When I try to overwrite the datasource file, nothing happens -- no > exception or "file in use" error. I try > tree.database.RemoveDataSource(datasource) first, too, and still no > luck. I'm looking for a way to refresh the entire <tree/> with a brand > new RDF file.
> Anyone know how to do this, or an extension which already does it? I'm > downloading the new RDF from a remote FTP server and overwriting the > current one. I've been reading up the RDF documents on XULPlanet. I think that once a datasource is cached in the RDF in-memory cache, gecko will not go out and refetch the physical file. How about: nsIRDFService->UnregisterResource? Hmmm. "nsIRDFRemoteDataSource". <http://xulplanet.com/references/xpcomref/ifaces/nsIRDFRemoteDataSource.html> void Refresh ( PRBool blocking ) Refresh the remote datasource, re-loading its contents from the URI. Arguments: blocking: If true, the call will block until the datasource has completely reloaded. Phil -- Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> http://flashblock.mozdev.org/ Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. [ ]But... I *DO* know everything!... * TagZilla 0.059 _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
