rem: var folderName = "OPML Imported"; 
add: var folderName = "OPML Import"; 
context: function importOPML(){	var uriFixup = Components.classes['@mozilla.org/docshell/urifixup;1']						.getService(Components.interfaces.nsIURIFixup);	var opmlUrl = uriFixup.createFixupURI(txtImportFile.value,					uriFixup.FIXUP_FLAG_ALLOW_KEYWORD_LOOKUP);	var httpReq = new XMLHttpRequest();	try{		httpReq.open("GET" , opmlUrl.spec, false);		httpReq.overrideMimeType("application/xml");		httpReq.send(null);	}catch(e){		alert("Load Failure");		return false;	}		opmlDoc = httpReq.responseXML;	if(opmlDoc.documentElement.localName != "opml"){		alert("This File Is Not OPML");		return false;	}	var rssReaderFolderID = CommonFunc.getPrefValue(CommonFunc.RSS_READER_FOLDER_ID,								"str", "NC:BookmarksRoot");	var folderName = "OPML Imported";	var opmlTitles = opmlDoc.getElementsByTagName("title");	if(opmlTitles.length > 0){		var opmlTitle = CommonFunc.getInnerText(opmlTitles[0]);		folderName += " - " + opmlTitle;	}	var rootFolder = BMSVC.createFolderInContainer(folderName,								RDF.GetResource(rssReaderFolderID), 1);	var treeWalker = opmlDoc.createTreeWalker(opmlDoc,								NodeFilter.SHOW_ELEMENT, outlineFiltter, true);	while(treeWalker.nextNode()){		var cNode = treeWalker.currentNode;		var pNode = cNode.parentNode;		var parentFolder = ("_folder" in pNode)? pNode._folder : rootFolder;		if(cNode.hasChildNodes()){			var title = cNode.getAttribute("title");			if(!title) title = cNode.getAttribute("text");			if(!title) title = "folder";			cNode._folder = BMSVC.createFolderInContainer(title, parentFolder, 1);		}else{			createRssItem(cNode, parentFolder);		}	}		// ubN}[N̕ۑ	BookmarksUtils.flushDataSource();	return true;}
meta: 359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/359/824a6c0449b2e5f24b379350a8119e0ed751f0d8/opml.js/buggy/src/sage/content/opml/opml.js