rem: RDF = Components.classes['component: 
add: RDF = Components.classes['@mozilla.org/rdf/rdf-service;1'].getService(); 
context: function loadDS(){	//dump("\n-->loadDS() called <--\n");	if (ds && loaded) {		//dump("\n-->loadDS(): ds=" + ds + ", loaded=" + loaded + ", returning! <--\n");		return;    }	// initialize	RDF = Components.classes['component://netscape/rdf/rdf-service'].getService();    RDF = RDF.QueryInterface(Components.interfaces.nsIRDFService);	if (!RDF) {		dump("\n-->loadDS(): RDF service is null!\n");		return;	}	    var ds_uri = "chrome://global/locale/builtinURLs.rdf";    var url_ds = RDF.GetDataSource(ds_uri); // return nsIRDFDataSource	if (!url_ds) {		dump("\n >>Can't get " + ds_uri + "<-\n");		return;	} 		var rdfXMLSink = url_ds.QueryInterface( Components.interfaces.nsIRDFXMLSink );	if (rdfXMLSink) {		ds         = null;		state      = 0x0; // init.		loaded     = false;		rdfXMLSink.addXMLSinkObserver(SinkObserver);	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/builtinURLs.js/buggy/xpfe/communicator/resources/content/builtinURLs.js