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
Родитель 843585385d
Коммит ff5baed61e
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

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