Bug #272812 --> scoping issue with the xml serializer leads to some XMLSerializer

not defined messages.

Patch by Robert Sayre.
This commit is contained in:
scott%scott-macgregor.org 2005-06-15 22:44:24 +00:00
parent ac5170de7c
commit e34c866ebd

View File

@ -64,8 +64,7 @@ FeedParser.prototype =
// This is slower, but not noticably so. Mozilla doesn't have the
// XMLHttpRequest.responseBody property that IE has, which provides access
// to the unencoded response.
var serial=new XMLSerializer();
var xmlString=serial.serializeToString(aDOM.documentElement);
var xmlString=serializer.serializeToString(aDOM.documentElement);
return this.parseAsRSS1(aFeed, xmlString, aBaseURI);
}
else if (aDOM.documentElement.namespaceURI == ATOM_03_NS)