Re: Cannot call RegisterDataSource on a own datasource

mcben <[email protected]> Mon, 4 Feb 2008 05:32:07 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.rdf
Organization http://groups.google.com
Message-ID <462ccb36-cff4-4ae9-88d2-c1ea6dc7b43a@c23g2000hsa.googlegroups.com>
Hi Neil,
Thank you for your answer.

On 4 fév, 12:59, Neil <[email protected]> wrote:
> mcben wrote:
> > Its contractid is like
> > "@mozilla.org/rdf/datasource;1?name=mydatasource" so as to get it in
> > the chrome with the "rdf:mydatasource" keyword.
>
> Technically it's not necessary to register it in this case, and in fact
> you can crash if you don't register it correctly, so I'd advise you to
> avoid that.

The case you explain is the "rdf:mydatasource" keywork trick ?
Related to my other reply to Axel, i had managed to register a in-
memory datasource, the same way i tried to with an xml datasource.

But anyway, after a few test, it seems that registration is indeed not
required.