Damien Ciabrini wrote:
On Monday 03 May 2004 12:23, Axel Hecht wrote:
Let's place a bet. Mimetype. It might be that the parser code does funky stuff with dtds and content sinks in the back end for odd mimetypes, which can easily end up in a NS_NOINTERFACE (html vs. xml content sinks).
Bad luck... But this time the exception is different.
I tried two differents mime types for rdf files. application/rdf+xml
text/rdf
both did not work and threw:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRDFService.GetDataSourceBlocking]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: file:///home/braun/code/rdf/test.xul :: foo :: line 18" data: no]
I don't know mozilla internals. Where is located the source code for nsIRDFService interface ? Moreover, is it C code or Javascript ?
Are you still trying to load your rdf from a jar?
As that may be the culprit. If it happens to be, you might wanna ask over in .netwerk (or necko?). Whatever. It may be that jars don't support sync loads over http. But that's just a guess from glancing at the code.
Axel _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
