[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-rdf
Subject:    Re: More RDF datasource problems.
From:       Axel Hecht <axel () pike ! org>
Date:       2004-10-18 12:45:34
Message-ID: cl0dtb$t001 () ripley ! netscape ! com
[Download RAW message or body]

Erik Arvidsson wrote:
> Hi,
> 
> I've successfully created a data source which works fine when using 
> directly. It implements nsIRDFDataSource and nsIRDFRemoteDataSource and 
> internally it uses a data source that is loaded using 
> GetDataSourceBlocking.
> 
> However, to be able to use the data source with the LocaleSearch data 
> source I'm trying to register the data source to the XPCOM registry as:
> 
> "@mozilla.org/rdf/datasource;1?name=sageds"
> 
> This allows me to use rdf:sageds in the datasource attributes in a XUL 
> element. However, I cannot change the data source any more. Calls to 
> Assert are not dispatched on my data source (what are they dispatched 
> to?) and I cannot call the other methods on my ds.
> 
> As usual any help and hints appreciated,

One shouldn't have to do with the other. Did you implement QI right?

If that's a js implementation and you want to call other methods of your 
impl, you need to put those on an interface and maybe implement QI.

Axel
_______________________________________________
Mozilla-rdf mailing list
Mozilla-rdf@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-rdf
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic