I had the same problem and found out that nsHttpChannel::Open is not implemented (and actually doesn't have to be according to comments in nsIChannel interface).
I guess that there is other way to do sync load in nsRDFXMLDataSource


Jan

Chris Waterson wrote:
ronan cremin wrote:

I'm using the following code to try to get he RDF to reload:

   var dsource;
   var template=document.getElementById("tree");
   var sources=template.database.GetDataSources();
   dsource=sources.getNext();
   dsource.Refresh(true);

The HTTP server (Apache) shows no activity


I think the "true" value to Refresh may be part of the problem. Specifically, I don't think that HTTP likes it very much when you try to drive it using a blocking call.

What happens if you specify the Refresh to be non-blocking?

chris





Reply via email to