rem: title = this._entityDecode(this._getInnerText(i)); 
add: title = this._getInnerText(i); 
context: 	parse: function(feedDocument)	{		var Feed = new Components.Constructor("@sage.mozdev.org/sage/feed;1", "sageIFeed", "init");		var FeedItem = new Components.Constructor("@sage.mozdev.org/sage/feeditem;1", "sageIFeedItem", "init");		var FeedItemEnclosure = new Components.Constructor("@sage.mozdev.org/sage/feeditemenclosure;1", "sageIFeedItemEnclosure", "init");		var dateParser = Components.classes["@sage.mozdev.org/sage/dateparser;1"].getService(Components.interfaces.sageIDateParser);		var Logger = new Components.Constructor("@sage.mozdev.org/sage/logger;1", "sageILogger", "init");		var logger = new Logger();			const nsIURIFixup = Components.interfaces.nsIURIFixup;		const URIFixup = Components.classes["@mozilla.org/docshell/urifixup;1"].getService(nsIURIFixup);			var title;		var link;		var description;		var author;		var feedURI;		var format;			var firstElement = feedDocument.documentElement;		if (firstElement.localName.toLowerCase() == "rdf") {			format = "RSS (1.0)";		} else if (firstElement.localName.toLowerCase() == "rss") {			if (firstElement.hasAttribute("version")) {				format = "RSS (" + firstElement.getAttribute("version") + ")";			} else {				format = "RSS (?)";			}		}			var i, j;			var channelNode;		for (i = firstElement.firstChild; i != null; i = i.nextSibling) {			if (i.nodeType != i.ELEMENT_NODE) continue;			if (i.localName.toLowerCase() == "channel") {				channelNode = i;			}		}		if (!channelNode) {			throw "No channel element where expected";		}			if (feedDocument.getElementsByTagName("channel").length != 0) {			channelNode = feedDocument.getElementsByTagName("channel")[0];		} else {			throw "No elements in channel tag";		}			for (i = channelNode.firstChild; i != null; i = i.nextSibling) {			if (i.nodeType != i.ELEMENT_NODE) continue;			switch(i.localName) {				case "title":					title = this._entityDecode(this._getInnerText(i));					break;				case "link":					link = this._getInnerText(i);					break;				case "description":					description = this._entityDecode(this._getInnerText(i));					break;				case "author":					author = this._entityDecode(this._getInnerText(i));					break;/*				case "copyright":					this.footer.copyright = this._entityDecode(this._getInnerText(i));					break;				case "generator":					this.footer.generator = this._entityDecode(this._getInnerText(i));					break;				case "webMaster":					this.footer.webmaster = this._entityDecode(this._getInnerText(i));					break;				case "managingEditor":					this.footer.editor = this._entityDecode(this._getInnerText(i));					break;				case "image":					for (j = i.firstChild; j!=null; j=j.nextSibling) {						if (j.nodeType != j.ELEMENT_NODE) continue;						switch(j.localName) {							case "url":								this.logo.link = this._entityDecode(this._getInnerText(j));								break;							case "title":								this.logo.alt = this._entityDecode(this._getInnerText(j));								break;						}					}					break;*/			}		}				feed = new Feed(title, link, description, author, feedURI, format);				var itemNodes = feedDocument.getElementsByTagName("item");		var item, guid;		for (i = 0; itemNodes.length > i; i++) {			item = {title:"", link:"", content:"", author:"", pubDate:"", enclosure: null};			guid = null;				for (j = itemNodes[i].firstChild; j!=null; j=j.nextSibling) {				if (j.nodeType != j.ELEMENT_NODE) continue;				switch(j.localName) {					case "title":						item.title = this._entityDecode(this._getInnerText(j));						break;					case "link":						if (!item.link) {							item.link = link ? URIFixup.createFixupURI(link, nsIURIFixup.FIXUP_FLAG_NONE).resolve(this._getInnerText(j)) : this._getInnerText(j);						}						break;					case "creator":						item.author = this._entityDecode(this._getInnerText(j));						break;					case "guid":						if(!guid) {							guid = this._getInnerText(j);						}						break;					case "description":						if (!item.content) {							item.content = this._getInnerText(j);						}						break;					case "encoded":						item.content = this._getInnerText(j);						break;					case "pubDate":						tmp_str = this._getInnerText(j);						try {							item.pubDate = dateParser.parseRFC822(tmp_str);						} catch(e) {							logger.warn("unable to parse RFC 822 date string: " + tmp_str + " feed: " + title);						}						break;					case "date":						tmp_str = this._getInnerText(j);						try {							item.pubDate = dateParser.parseISO8601(tmp_str);						} catch(e) {							logger.warn("unable to parse ISO 8601 date string: " + tmp_str + " feed: " + title);						}						break;					case "enclosure":						item.enclosure = new FeedItemEnclosure(j.getAttribute("url"), j.getAttribute("length"), j.getAttribute("type"));						break;				}			}				if (!item.link && guid) {				item.link = link ? URIFixup.createFixupURI(link, nsIURIFixup.FIXUP_FLAG_NONE).resolve(guid) : guid;			}						var feedItem = new FeedItem(item.title, item.link, item.author, item.content, item.pubDate, item.enclosure, null);				feed.addItem(feedItem);		}				return feed;	},
meta: 359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/359/ccf69816769bf74a44e1ecb9b0b8ae2056e34e28/ sageRSSParser.js/buggy/src/components/ sageRSSParser.js